I'll take a look on it when I have some time.

Thank you!

Rodrigo.

Em 19-01-2011 18:15, kristian escreveu:
maybe
http://blog.mkristian.tk/2010/03/riding-ruby-on-rails3-with-maven.html
is of interest to you.

regards, Kristian

On Thu, Jan 20, 2011 at 1:37 AM, Rodrigo Rosenfeld Rosas
<rr.ro...@gmail.com>  wrote:
  Hi Kristian, thank you for your replay. Actually, I'm not depending on this
feature yet, but I was just testing it since it'll be a great feature if we
decide to move from Grails to JRuby on Rails. This feature would be an extra
point of argumentation while trying to convince the person that can take
this decision, since we depend on lots of libraries that are already
available on Maven and Grails has a syntax for declaring dependencies on
Maven. Being able to use Bundler to manage the Maven dependencies would be
awesome!

So, this is not urgent. When I have some free time I'll try to investigate
more this new feature issue.

Best regards,

Rodrigo.

Em 19-01-2011 17:59, kristian escreveu:
then I got the current head from git and it worked for me.

if I look at the stacktrace it seems that the uri.path is nil.

could it be an issue related to 'rvm'  - but I doubt ?

there are some patches on the way related to maven_gems, maybe it is
worth waiting for them before investing further !?

regards, Kristian

On Wed, Jan 19, 2011 at 7:26 PM, Rodrigo Rosenfeld Rosas
<rr.ro...@gmail.com>    wrote:
I've just 'rvm install jruby-head' and yielded 'gem install ruby-maven
--pre', 'gem install postgresql:postgresql' and got the following error:

ERROR:  While executing gem ... (TypeError)
     can't convert nil into String

gem install postgresql:postgresql -V --backtrace

ERROR:  While executing gem ... (TypeError)
     can't convert nil into String
         org/jruby/RubyFile.java:960:in `dirname'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:62:in
`cache_dir'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:105:in
`fetch_spec'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:75:in
`fetch_with_errors'
         org/jruby/RubyArray.java:2471:in `collect19'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:74:in
`fetch_with_errors'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:108:in
`find_gems_with_sources'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:212:in
`find_spec_by_name_and_version'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:244:in
`install'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:120:in
`execute'
         org/jruby/RubyArray.java:1671:in `each'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in
`execute'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in
`invoke'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134:in
`process_args'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in
`run'


/home/rodrigo/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:63:in
`run'
         /home/rodrigo/.rvm/rubies/jruby-head/bin/gem:25:in `__file__'

Any hints?

Thanks in advance,

Rodrigo


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to