Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12631 - [rubygems] does not see installed gems
Attached to Project:
Community Packages
Opened by Paul Philippov (themactep) - Wednesday, 31 December 2008, 22:22 GMT
Last edited by Allan McRae (Allan) - Friday, 18 September 2009, 01:37 GMT
Opened by Paul Philippov (themactep) - Wednesday, 31 December 2008, 22:22 GMT
Last edited by Allan McRae (Allan) - Friday, 18 September 2009, 01:37 GMT
|
DetailsDescription:
ruby does not see installed gems Additional info: ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] rubygems 1.3.1 Steps to reproduce: # gem list *** LOCAL GEMS *** hpricot (0.6.164) xml-simple (1.0.11) zoom (0.4.1) # ruby -e 'require "hpricot"' -e:1:in `require': no such file to load -- hpricot (LoadError) from -e:1 # ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] # gem --version 1.3.1 |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 18 September 2009, 01:37 GMT
Reason for closing: Fixed
Additional comments about closing: ruby-1.9
Friday, 18 September 2009, 01:37 GMT
Reason for closing: Fixed
Additional comments about closing: ruby-1.9
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
/usr/bin aren't both writable.
WARNING: You don't have /home/allan/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
Where are yours installed and is it in your path?
contents of auto_gem.rb:
------------------------
# This file is installed by Gentoo's rubygems package.
# It's intended to help automate the loading of rubygems
begin
require 'rubygems'
rescue LoadError
end
---- end ----
$ env | grep RUBY
RUBYOPT=-rauto_gem
that is really useful as you don't have to require rubygems explicitly to every ruby script. i expected to have a similar behaviour on arch linux as well =)