2012-12-20 9 views
6

Wo ist $ GEM_PATH eingestellt?

Es ist deutlich, da dies gesetzt wird zeigt:

echo $GEM_PATH 
/Users/snowcrash/.rvm/gems/ruby-1.9.2-p318:/Users/snowcrash/.rvm/gems/[email protected] 

aber es ist nicht, wo ich erwarten würde, z.B.

[app (master)]$ grep GEM_PATH ~/.bash_profile 
[app (master)]$ grep GEM_PATH ~/.bashrc 
[app (master)]$ 

EDIT

Weder ist es hier:

vim config/environment.rb 

# Load the rails application 
require File.expand_path('../application', __FILE__) 

# Initialize the rails application 
Accounts::Application.initialize! 
+0

wie etwa 'grep" GEM_PATH "/ etc/profile'? –

+0

nein - auch nicht da. Oder, fwiw,/etc/bashrc – Snowcrash

+0

Das gleiche Problem hier. –

Antwort

1

der Standard Rubin wird geladen, wenn Sie source /path/to/rvm/scripts/rvm und Einstellung von Standard-ruby Menge andere Sätze GEM_HOME, GEM_PATH und PATH

Verwandte Themen