Search code examples
ruby-on-railsrubygemsruby-on-rails-plugins

require 'rubygems' not working


when I type irb> require 'rubygems' it returns false. I have many gems in my rails app that are obviously working - rake, activerecord, etc. What could be going wrong here? thanks.

Ruby 1.8.6. Rails 1.2.6


Solution

  • It throws an exception if it doesn't work, it returns false if it is already loaded.