提问者:小点点

捆绑安装不适用于rvm ruby2。0


安装RVM和ruby2后。0.0,正在运行

$ bundle install

只是什么也没得到回应就停下来。我如何跟踪哪里有问题?

档案:

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内爆和重新安装,只是rvm安装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:       ""

共1个答案

匿名用户

天哪!现在可以了。我认为sudo使用的唯一步骤可能是rvmsudo乘客安装nginx模块。我这次不运行命令。