Oren
(Oren)
1
some info about my system: ubuntu 8.10, ruby 1.8.3, rubygems 1.3.1
(installed from source)
Here are the gems I have and can't uninstall:
addressable (2.0.1)
cgi_multipart_eof_fix (2.5.0)
cheat (1.2.1)
daemons (1.0.10)
data_objects (0.9.10.1)
do_mysql (0.9.10.1)
extlib (0.9.9)
fastthread (1.0.1)
gem_plugin (0.2.3)
mongrel (1.1.5)
when I try this:
sudo gem uninstall cheat
I get this:
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem cheat >= 0
thanks!
···
--
Posted via http://www.ruby-forum.com/.
Oren Golan wrote:
some info about my system: ubuntu 8.10, ruby 1.8.3, rubygems 1.3.1
(installed from source)
Here are the gems I have and can't uninstall:
addressable (2.0.1)
cgi_multipart_eof_fix (2.5.0)
cheat (1.2.1)
daemons (1.0.10)
data_objects (0.9.10.1)
do_mysql (0.9.10.1)
extlib (0.9.9)
fastthread (1.0.1)
gem_plugin (0.2.3)
mongrel (1.1.5)
when I try this:
sudo gem uninstall cheat
I get this:
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem cheat >= 0
What is the output of "gem env"? I'm guessing that you have multiple gem paths.
Dan
Oren
(Oren)
3
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /home/oren/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
···
--
Posted via http://www.ruby-forum.com/.
INSTALLATION DIRECTORY indicates where the gems will be installed and
uninstalled from.
Maybe 'cheat' gem installed in your home gem repository instead
(looking at GEM PATHS).
Please try:
gem uninstall cheat -i /home/oren/.gem/ruby/1.8
HTH,
···
On Jan 5, 3:19 pm, Oren Golan <orengo...@gmail.com> wrote:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /home/oren/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
-http://gems.rubyforge.org/
--
Luis Lavena
Oren
(Oren)
5
thanks, it worked.
so is it normal or should i fix it somehow so all my gems will be in a
single location?
···
--
Posted via http://www.ruby-forum.com/.
Oren
(Oren)
6
does anyone knows the cause for this issue and how can I prevent it from
happening in the future?
···
--
Posted via http://www.ruby-forum.com/.
I've run into this issue myself. I'm not sure how you're "supposed" to solve
it, but I just make sure I install using sudo. Put this in your .bashrc:
alias gem-inst="sudo gem install"
Then install gems using, e.g.
gem-inst rails
Then all your gems will go in /usr/lib rather than ~/.gems.
···
2009/1/6 Oren Golan <orengolan@gmail.com>
thanks, it worked.
so is it normal or should i fix it somehow so all my gems will be in a
single location?