2012-12-20 15 views
6

Gdzie jest ustawiona wartość $ GEM_PATH?

Wyraźnie jest ustawiony jak to pokazuje:

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

ale nie jest to gdzie będę oczekiwać, np

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

EDIT

Ani jest tutaj:

vim config/environment.rb 

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

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

jak o 'grep" GEM_PATH "/ etc/profile'? –

+0

nie - tam też nie. Lub fwiw,/etc/bashrc – Snowcrash

+0

Ten sam problem tutaj. –

Odpowiedz

1

domyślny Ruby jest ładowany podczas source /path/to/rvm/scripts/rvm i ustawienie domyślne kwota rubin inne zestawy GEM_HOME, GEM_PATH i PATH

Powiązane problemy