On Tue, Aug 18, 2009 at 4:20 PM, David Chelimsky<[email protected]> wrote: > That is a very old version of rubygems (2007-02-05) which probably > doesn't support the gem method yet (just guessing). I'm using 1.3.4 > (though it looks like there is a 1.3.5 version I missed). I'd > recommend upgrading.
I've upgraded rubygems: mac...@solaris /export/home/maciej/src/rspec $ rake --version rake, version 0.8.7 mac...@solaris /export/home/maciej/src/rspec $ gem --version 1.3.5 mac...@solaris /export/home/maciej/src/rspec $ rake gem (in /export/home/maciej/src/rspec) /export/home/maciej/src/rspec/Rakefile:92: warning: ambiguous first argument; put parentheses or even spaces rake aborted! undefined method `gem' for main:Object /export/home/maciej/src/rspec/Rakefile:2 (See full trace by running task with --trace) I've re-run it with --trace: mac...@solaris /export/home/maciej/src/rspec $ rake --trace gem (in /export/home/maciej/src/rspec) /export/home/maciej/src/rspec/Rakefile:92: warning: ambiguous first argument; put parentheses or even spaces rake aborted! undefined method `gem' for main:Object /export/home/maciej/src/rspec/Rakefile:2 /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2383:in `load' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2383:in `raw_load_rakefile' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2017:in `load_rakefile' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2068:in `standard_exception_handling' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2016:in `load_rakefile' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2000:in `run' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:2068:in `standard_exception_handling' /opt/csw/lib/ruby/site_ruby/1.8/rake.rb:1998:in `run' /opt/csw/bin/rake:32 Any ideas? Maciej _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
