quick note on ruby “require”
I installed hpricot gem in a non standard directory on my shared server on hostmonster. When I tried, require ‘hpricot’ in ruby it failed to load even when I set RUBY_PATH variable in my bashrc file. The solution to that problem is to do require ‘rubygems’ and then require ‘hpricot’. Supposedly, the path is altered after executing rubygems to pick up from the non standard path as well. Thanks to guys in the ruby-lang channel on irc.
me learns something new today!
Categories: Uncategorized
Where did you learn this Alien language bhai ???
Kya bandha hai yeh:)