I have a problem packaging gems in my attempts to get ruby-1.9.1 going. Below
is some output describing what the problem is exactly, and really, it is
The following changes have been applied to how a normal Fedora ruby
installation runs, and gems are packaged:
- The search path for ruby is:
$ ruby -e 'puts $:'
- The packaged gems are being installed (by default) in /usr/share/ruby/gems/
- The rubygems package can (supposedly) be obsoleted by ruby-1.9.1's new gem
- The same goes for rake (now also a part of the ruby-1.9.1 family).
# gem install -V --local --install-dir=/usr/share/ruby/ --force
Installing gem rack-1.0.0
Using local gem /usr/share/ruby/cache/rack-1.0.0.gem
(...long list of files removed...)
Successfully installed rack-1.0.0
1 gem installed
Installing ri documentation for rack-1.0.0...
Updating class cache with 0 classes...
Installing RDoc documentation for rack-1.0.0...
[root@ghandalf ~]# gem list
*** LOCAL GEMS ***
# gem uninstall rack
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem rack >= 0
$ ruby -rrubygems -e 'puts Gem::dir'
Show replies by date