From: Tomas Korcak Date: 2010-12-23T08:14:22+09:00 Subject: Re: Problem with gems (require not working) > korczis@korczis-nb:~/prog/smartdata/bin$ irb > irb(main):001:0> puts $: > /usr/local/lib/site_ruby/1.8 > /usr/local/lib/site_ruby/1.8/i486-linux > /usr/local/lib/site_ruby/1.8/i386-linux > /usr/local/lib/site_ruby > /usr/lib/ruby/vendor_ruby/1.8 > /usr/lib/ruby/vendor_ruby/1.8/i486-linux > /usr/lib/ruby/vendor_ruby > /usr/lib/ruby/1.8 > /usr/lib/ruby/1.8/i486-linux > /usr/lib/ruby/1.8/i386-linux > . > => nil > irb(main):002:0> puts $ > SyntaxError: compile error > (irb):2: syntax error, unexpected $undefined, expecting $end > from (irb):2 > from :0 > irb(main):003:0> Am I right when I am thinking that it is looking for gems somewhere else that it should be (/usr/local/lib/site_ruby/1.8)? PS: Maybe I did installed ruby from sources in past and there is some residue causing the problem at the moment.. I am not sure -- Posted via http://www.ruby-forum.com/.