Closed jedi4ever closed 12 years ago
What OS/Ruby/rubygems version do you have?
Here is what I get:
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]
$ gem -v
1.8.10
$ gem install aruba
ERROR: Error installing aruba:
invalid gem format for /Users/ahellesoy/.rvm/gems/ruby-1.9.3-p0/cache/ffi-1.0.9.gem
Here's some output. All are done with a clean gemset
$ ruby -v ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10.6.0] $ bundle -v Bundler version 1.0.21 $ gem -v 1.4.2
Switching to ruby 1.9.2 works, might be something specific to ruby 1.8.7 code ?
$ jgem install aruba ERROR: While executing gem ... (ArgumentError) undefined class/module YAML::Syck::DefaultKey $ jgem -v 1.3.6 $ jruby -v jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 9cf97c3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [x86_64-java]
I had the same problem (using ruby 1.8.7), however building and installing from github worked fine. Simply re-releasing the gem may fix the issue.
I have the same problem with JRuby 1.6.5, using rubygems 1.8.12
This also happens on RBX with older versions of rubygems (whichever version travis-ci.org uses, which I cannot determine). This doesn't happen on rubygems 1.8.12
According to https://github.com/cucumber/aruba/compare/v0.4.7...v0.4.8#diff-1 this is now fixed. @aslakhellesoy did you just forget to close this ticket?
Yep :-)
$ gem install aruba --verbose GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 304 Not Modified GET http://rubygems.org/specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/specs.4.8.gz 304 Not Modified ERROR: While executing gem ... (NoMethodError) undefined method `call' for nil:NilClass
I found a similar error here - https://github.com/carlhuda/bundler/issues/1141 It seems to be related to a corrupt/invalided specfile
So Aruba v 0.4.7 is corrupt , but the previous works correctly works like a charm $ gem install aruba -v 0.4.6