0
工作安裝RVM和ruby2.0.0後,運行捆綁安裝不上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)
我在我家目錄中安裝RVM沒有sudo。我甚至做了rvm implode並重新安裝,只是rvm install 2.0.0和捆綁命令暫停。
$ 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/[email protected]/bin/rake" environment: PATH: "/home/liangji/.rvm/gems/ruby-2.0.0-p247/bin:/home/liangji/.rvm/gems/[email protected]/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/[email protected]" 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: ""
我有時會發現'bundle install'可能需要5或10分鐘的時間才能完成*某事*(並不打算試着找出什麼,但懷疑是在線收集gem元數據)。你等了多久? –
等待30分鐘或更長時間,仍然沒有任何反應,直到按下CTRL-C打破。 – Jimmy
捆綁列表後創建的文件Gemfile.lock。但是如果我刪除了Gemfile.lock,那麼在安裝捆綁軟件之後它不能生成Gemfile.lock,並且在CTRL-C打破後沒有任何事情發生。 – Jimmy