2011-08-15 2 views
0

Ubuntu Natty Narwhal 시스템에 Passenger (nginx 버전 아님)가 설치되어 있고 /home/app/insight/current의 루트 디렉토리에 bundler가 설치되어 있습니다.로드 할 파일이 없습니다. - Ubuntu의 승객 용 번들

아래는 변수

[email protected]:~/insight/current$ gem env 
RubyGems Environment: 
    - RUBYGEMS VERSION: 1.8.8 
    - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i686-linux] 
    - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 
    - RUBY EXECUTABLE: /usr/local/bin/ruby 
    - EXECUTABLE DIRECTORY: /usr/local/bin 
    - RUBYGEMS PLATFORMS: 
    - ruby 
    - x86-linux 
    - GEM PATHS: 
    - /usr/local/lib/ruby/gems/1.9.1 
    - /home/app/.gem/ruby/1.9.1 
    - GEM CONFIGURATION: 
    - :update_sources => true 
    - :verbose => true 
    - :benchmark => false 
    - :backtrace => false 
    - :bulk_threshold => 1000 
    - REMOTE SOURCES: 
    - http://rubygems.org/ 

[email protected]:~/insight/current$ which ruby 
/usr/local/bin/ruby 

[email protected]:~/insight/current$ which rvm 
/home/app/.rvm/bin/rvm 

[email protected]:~/insight/current$ which bundler 

[email protected]:~/insight/current$ which bundle 
/usr/local/bin/bundle 

[email protected]:~/insight/current$ rvm list 

rvm rubies 

    ruby-1.9.2-p290 [ i386 ] 

[email protected]:~/insight/current$ rvm gem list 
/home/app/.rvm/rubies/ruby-1.9.2-p290/bin/gem:4: warning: Insecure world writable dir /var in PATH, mode 040777 

*** LOCAL GEMS *** 

bundler (1.0.17) 
rake (0.8.7 ruby) 

그것은 내가 그것을 사용하는 데 예상보다 승객이 루비의 다른 버전을 사용하는 문제는 무엇입니까? 제거하거나 변경하려면 무엇이 필요합니까?

답변

0

which ruby 출력을 기반으로 사용되는 루비 버전은 RVM의 시스템이 아닌 시스템 하나입니다.

rvm --default 1.9.2을 실행하여 RVM 루비를 기본값으로 설정하십시오.

+0

그게 도움이되지 않았다 ... – Rio

+0

나는 또한 서버를 다시 시작했지만 아무 것도 변경하지 않았다. – Rio

+0

'which ruby'를 실행하면 출력이 바뀌 었습니까? –

관련 문제