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