[Rubygems-developers] problems with 1.3.0 non-root autoinstall

Martin Krauskopf martin.krauskopf at gmail.com
Thu Aug 21 14:58:30 EDT 2008


Chad Woolley wrote:
[...]
> chadmac:workspace woolley$ gem uninstall -i ~/.gem selenium-rails
> ERROR:  While executing gem ... (Gem::InstallError)
>     Unknown gem selenium-rails >= 0
> chadmac:workspace woolley$ ls ~/.gem/ruby/1.8/gems/selenium-rails-0.0.1

This gem is in the ~/.gem/ruby/1.8 repository, not in the ~/.gem repo.

   $ gem uni -i ~/.gem/ruby/1.8 selenium-rails

is the right one. Likely ~/.gem and ~/.gem/ruby/1.8 was somehow 
interchanged at some time.

> chadmac:workspace woolley$ gem env
[...]
>   - GEM PATHS:
>      - /Library/Ruby/Gems/1.8
>      - /Users/woolley/.gem/ruby/1.8
>      - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
[...]

Then just strange, that 'gem list' does not see it.

	m.



More information about the Rubygems-developers mailing list