Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3824
| 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 <ciur.eugen@gmail.com> |
| 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> (permalink) |
| 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 |
Show key headers only | View raw
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/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
LoadPath and require confusion, please explain Lucky Dev <lucky.developer@gmail.com> - 2011-05-02 01:35 -0500
Re: LoadPath and require confusion, please explain Eugen Ciur <ciur.eugen@gmail.com> - 2011-05-02 02:26 -0500
Re: LoadPath and require confusion, please explain Lucky Dev <lucky.developer@gmail.com> - 2011-05-02 04:15 -0500
Re: LoadPath and require confusion, please explain OZAWA Sakuro <sakuro@2238club.org> - 2011-05-02 04:22 -0500
Re: LoadPath and require confusion, please explain Eugen Ciur <ciur.eugen@gmail.com> - 2011-05-02 04:40 -0500
Re: LoadPath and require confusion, please explain Lucky Dev <lucky.developer@gmail.com> - 2011-05-03 11:37 -0500
csiph-web