On Tue, Nov 22, 2011 at 6:05 PM, Peter Donald <[email protected]>wrote:

> Hi,
>
> I attempted to get the packages at
> http:/people.apache.org/~toulmean/buildr/1.4.7/dist/ working but ran
> into some issues. I then did a blank rvm install and attempted again
> with no success. Here is what happened...
>
> $ wget
> http://people.apache.org/~toulmean/buildr/1.4.7/dist/buildr-1.4.7.gem
> $ rvm use ruby-1.8.7-p352
> $ gem install buildr-1.4.7.gem
> ERROR:  While executing gem ... (ArgumentError)
>    Illformed requirement ["#<YAML::Syck::DefaultKey:0x2b2e99223290>
> 2.0.23"]
>

Looks like a bug in rubygems (see below);  try running "gem update
--system".

$ rvm install ruby-1.8.7-p352^C
[...]
$ rvm use 1.8.7-p352
Using /home/boisvert/.rvm/gems/ruby-1.8.7-p352
$ gem -v
1.6.2
$ gem install buildr-1.4.7.gem
ERROR:  While executing gem ... (ArgumentError)
    Illformed requirement ["#<YAML::Syck::DefaultKey:0x7fdfa1c9c448>
2.0.23"]
$ gem update --system
Fetching: rubygems-update-1.8.11.gem (100%)
Installing RubyGems 1.8.11
RubyGems 1.8.11 installed
[...]
$ gem install buildr-1.4.7.gem
[...]
Successfully installed buildr-1.4.7
19 gems installed


> $ wget
> http://people.apache.org/~toulmean/buildr/1.4.7/dist/buildr-1.4.7-java.gem
> $ rvm use jruby-1.6.3
> $ gem install buildr-1.4.7-java.gemERROR:  While executing gem ...
> (NoMethodError)    undefined method `call' for nil:NilClass
>
> Any ideas?
>

Also a rubygems issue... although upgrading to 1.8.11 led to a different
issue:
https://github.com/carlhuda/bundler/issues/1235

Not sure how to resolve this yet.

alex

Reply via email to