X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!talisker.lacave.net!lacave.net!not-for-mail From: Eugen Ciur Newsgroups: comp.lang.ruby Subject: Re: LoadPath and require confusion, please explain Date: Mon, 2 May 2011 02:26:31 -0500 Organization: Service de news de lacave.net Lines: 16 Message-ID: <425eb8d7f3f4a4e18dc557b982a2000c@ruby-forum.com> References: <2f924ae07653151e6e47db274f29bc42@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1304321431 14846 65.111.164.187 (2 May 2011 07:30:31 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Mon, 2 May 2011 07:30:31 +0000 (UTC) In-Reply-To: <2f924ae07653151e6e47db274f29bc42@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 382529 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <425eb8d7f3f4a4e18dc557b982a2000c@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:3824 When you do require/load ruby will use $GEM_PATH also to look for available gems. in your irb check output for ENV['GEM_PATH'] it should show correct location where your 'arel' gem is. $LOAD_PATH comes with ruby interpreter, but $GEM_PATH is set by rvm (to be used for gem utility). Besides, there is also $GEM_HOME, that var also comes into play when searching for gems. Check your environment variables with 'env' bash command. ---- http://blog.eugen.co -- Posted via http://www.ruby-forum.com/.