Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 752
happythenewsad Avatar asked Jul 02 '09 14:07

happythenewsad


1 Answers

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

like image 68
Ben Hughes Avatar answered Nov 14 '22 23:11

Ben Hughes