Jruby assumes rubygems

this from a github clone, ubuntu

rdp@ubuntu910:~/dev/downloads/jruby$ rake --trace
(in /home/rdp/dev/downloads/jruby)
rake aborted!
undefined method gem' for main:Object /home/rdp/dev/downloads/jruby/rakelib/test.rake:50 /usr/lib/ruby/1.8/rake.rb:1858:inin_namespace’
/usr/lib/ruby/1.8/rake.rb:890:in namespace' /home/rdp/dev/downloads/jruby/rakelib/test.rake:39 /usr/lib/ruby/1.8/rake.rb:1596:inload’
/usr/lib/ruby/1.8/rake.rb:1596:in load' /usr/lib/ruby/1.8/rake.rb:2423:inload_imports’
/usr/lib/ruby/1.8/rake.rb:2366:in raw_load_rakefile' /usr/lib/ruby/1.8/rake.rb:1993:inload_rakefile’
/usr/lib/ruby/1.8/rake.rb:2044:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1992:inload_rakefile’
/usr/lib/ruby/1.8/rake.rb:1976:in run' /usr/lib/ruby/1.8/rake.rb:2044:instandard_exception_handling’
/usr/lib/ruby/1.8/rake.rb:1974:in `run’
/usr/bin/rake:28

Hi Roger,

This is pretty natural assumption, it seems. If one to use rake then
chances are there should be rubygems installed already.
(for ubuntu this is as simple sudo apt-get install rubygems).

For bare bones build process, just use Apache Ant:

ant

That will build JRuby just fine, and won’t require rake/gems/spec.

Rakefile is mostly for convenience, an extension on top of Ant build
process.

Thanks,
–Vladimir

On Wed, Jan 27, 2010 at 2:53 AM, Roger P. [email protected]
wrote:

/usr/lib/ruby/1.8/rake.rb:1596:in `load’

Posted via http://www.ruby-forum.com/.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email