Required environment for iCuke

19 views
Skip to first unread message

arreche

unread,
Jul 7, 2011, 4:35:20 PM7/7/11
to iCuke
Please. ¿What is the required environment to use iCuke?

gem install iCuke...

Fetching: iCuke-0.6.3.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing iCuke:
ERROR: Failed to build gem native extension.

rake RUBYARCHDIR=/Users/user/.rvm/gems/ruby-1.9.2-p180@dirty/
gems/iCuke-0.6.3/lib RUBYLIBDIR=/Users/user/.rvm/gems/ruby-1.9.2-
p180@dirty/gems/iCuke-0.6.3/lib
/Users/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/
rubygems.rb:388:in `bin_path': can't find gem rake ([">= 0"]) with
executable rake (Gem::GemNotFoundException)
from /Users/user/.rvm/gems/ruby-1.9.2-p180/bin/rake:19:in `<main>'


$uname -a

Darwin users-MacBook.local 10.8.0 Darwin Kernel Version 10.8.0: Tue
Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386


$rvm list

rvm rubies

=> ruby-1.9.2-p180 [ x86_64 ]


$gem list

background_process (1.3)
builder (3.0.0)
crack (0.1.8)
cucumber (1.0.0)
diff-lcs (1.1.2)
gherkin (2.4.1)
httparty (0.7.8)
json (1.5.3)
nokogiri (1.5.0)
rake (0.8.7)
term-ansicolor (1.0.5)

Jason Felice

unread,
Jul 7, 2011, 5:13:15 PM7/7/11
to ic...@googlegroups.com
You will need to have a recent version of Xcode installed, as well as the rake gem.  The preferred way to install is by using bundler, however.  See here:

Arreche

unread,
Jul 7, 2011, 5:58:47 PM7/7/11
to ic...@googlegroups.com
I've installed XCode 4.02

git clone --recursive git://github.com/BlueFrogGaming/WaxSim.git
cd icuke
gem install bundler
bundle install
gem install iCuke

And got the same error.

By default there are no ./path directory so I've execute rake build
and then bundle install --path=./path but icuke isn't installed.

What am I doing wrong?

--
.

Reply all
Reply to author
Forward
0 new messages