gems installed but cannot run.
I have installed rubygems.
here is my environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.23
- RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/1.9.1
- /home/ed/.gem/ruby/1.9.1
- /usr/share/rubygems-integration/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
when I enter irb
require 'rubygems'
=> true
require 'rmagick' (is installed)
Load
Error: no such file to load -- pg
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2
I believe it is a problem with the path but how to fix. gems are
in /var/lib/gems/1.9.1 and rubygems is searching in 1.8.
how do i fix.
thanks
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 10 Jan, 2013 04:40 PM
"Error: no such file to load -- pg" looks like you're missing the postgres gem, and this isn't specifically a rubygems problem. Please post stuff like this (and not directly Rubygems.org problems) on rails-talk on Google Groups or StackOverflow for more immediate help.
Nick Quaranto closed this discussion on 10 Jan, 2013 04:40 PM.