rubygems - ruby gem not found although it is installed (Ubuntu 14) -
i know question has been asked before, yet i've not been able remedy existing advice.
my gem environment follows:
gem environment rubygems environment: - rubygems version: 1.3.7 - ruby version: 1.9.3 (2014-10-27 patchlevel 550) [x86_64-linux] - installation directory: /usr/lib/ruby/gems/1.9.1 - ruby executable: /usr/bin/ruby1.9.1 - executable directory: /usr/bin - rubygems platforms: - ruby - x86_64-linux - gem paths: - /usr/lib/ruby/gems/1.9.1 - /home/egge/.gem/ruby/1.9.1 - gem configuration: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - remote sources: - http://rubygems.org/
i installed gem:
gem list --local | grep active activesupport (4.1.7) activesupport-inflector (0.1.0)
but when run ruby, can't find it:
/usr/bin/ruby1.9.1 -e 'require "active_support/inflector"' -e:1:in `require': cannot load such file -- active_support/inflector (loaderror) -e:1:in `<main>'
i @ loss why setup isn't working.
i found workaround. i'm not sure cause of issue is, apparently there change ruby 1.9.2+. following works fine:
/usr/bin/ruby1.9.1 --disable-gems -e 'require "rubygems"; require "active_support/inflector"'
Comments
Post a Comment