6
$ GEM_PATH在哪裏設置?
它清楚地被設定爲這表明:
echo $GEM_PATH
/Users/snowcrash/.rvm/gems/ruby-1.9.2-p318:/Users/snowcrash/.rvm/gems/[email protected]
,但它不是我所期待,例如
[app (master)]$ grep GEM_PATH ~/.bash_profile
[app (master)]$ grep GEM_PATH ~/.bashrc
[app (master)]$
編輯
也不是在這裏:
vim config/environment.rb
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Accounts::Application.initialize!
怎麼樣'grep「GEM_PATH」/ etc/profile「? –
不 - 不存在。或者,fwiw,/ etc/bashrc – Snowcrash
這裏同樣的問題。 –