安装RVM和ruby2.0.0后,运行
$ bundle install
得到任何回应并停止。我如何追踪问题所在?
的Gemfile:
source "https://rubygems.org" gem 'rails', '4.0.0
试图列出:
$ bundle list Gems included by the bundle: * actionmailer (4.0.0) * actionpack (4.0.0) * activemodel (4.0.0) * activerecord (4.0.0) * activerecord-deprecated_finders (1.0.3) * activesupport (4.0.0) * arel (4.0.0) * atomic (1.1.14) * builder (3.1.4) * bundler (1.3.5) * erubis (2.7.0) * hike (1.2.3) * i18n (0.6.5) * mail (2.5.4) * mime-types (1.25) * minitest (4.3.2) * multi_json (1.8.0) * polyglot (0.3.3) * rack (1.5.2) * rack-test (0.6.2) * rails (4.0.0) * railties (4.0.0) * rake (10.1.0) * sprockets (2.10.0) * sprockets-rails (2.0.0) * thor (0.18.1) * thread_safe (0.1.3) * tilt (1.4.1) * treetop (1.4.15) * tzinfo (0.3.37)
我在没有sudo的主目录中安装RVM。我甚至做了rvm implode并重新安装,只是rvm install 2.0.0和bundle命令停止。
$ rvm info ruby-2.0.0-p247: system: uname: "Linux localhost.localdomain 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux" system: "redhat/6/x86_64" bash: "/bin/bash => GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)" zsh: " => not installed" rvm: version: "rvm 1.22.11 (stable) by Wayne E. Seguin , Michal Papis [https://rvm.io/]" updated: "23 hours 31 minutes 28 seconds ago" path: "/home/liangji/.rvm" ruby: interpreter: "ruby" version: "2.0.0p247" date: "2013-06-27" platform: "x86_64-linux" patchlevel: "2013-06-27 revision 41674" full_version: "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]" homes: gem: "/home/liangji/.rvm/gems/ruby-2.0.0-p247" ruby: "/home/liangji/.rvm/rubies/ruby-2.0.0-p247" binaries: ruby: "/home/liangji/.rvm/rubies/ruby-2.0.0-p247/bin/ruby" irb: "/home/liangji/.rvm/rubies/ruby-2.0.0-p247/bin/irb" gem: "/home/liangji/.rvm/rubies/ruby-2.0.0-p247/bin/gem" rake: "/home/liangji/.rvm/gems/ruby-2.0.0-p247@global/bin/rake" environment: PATH: "/home/liangji/.rvm/gems/ruby-2.0.0-p247/bin:/home/liangji/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/liangji/.rvm/rubies/ruby-2.0.0-p247/bin:/home/liangji/.rvm/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/liangji/bin" GEM_HOME: "/home/liangji/.rvm/gems/ruby-2.0.0-p247" GEM_PATH: "/home/liangji/.rvm/gems/ruby-2.0.0-p247:/home/liangji/.rvm/gems/ruby-2.0.0-p247@global" MY_RUBY_HOME: "/home/liangji/.rvm/rubies/ruby-2.0.0-p247" IRBRC: "/home/liangji/.rvm/rubies/ruby-2.0.0-p247/.irbrc" RUBYOPT: "" gemset: ""
答案 0 :(得分:0)
哦,伙计!它现在有效。我想也许使用sudo的唯一步骤是rvmsudo passenger-install-nginx-module
。我这次没有运行命令。