[英]Issue Installing Rails With RVM
rvm list shows me: rvm列表显示我:
ruby-1.9.3-head [ x86_64 ]
ruby-1.9.3-p125 [ x86_64 ]
ruby-1.9.3-p194 [ x86_64 ]
rails server
is only supported on ruby-1.9.3-head, but not on p125 or p194, who give me the following errors, respectively, when running a rails command like "rails s": rails server
仅在ruby-1.9.3-head上受支持,但在p125或p194上不受支持,在运行rails命令如“rails s”时,他们分别给我以下错误:
p125: Could not find activesupport-3.2.6 in any of the sources
Run `bundle install` to install missing gems.
upon running bundle install, I get: 在运行bundle install时,我得到:
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Could not find jquery-rails-2.0.0 in any of the sources
p194: /$usr_path/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:90:in `block in materialize': Could not find activesupport-3.2.6 in any of the sources (Bundler::GemNotFound)
Any ideas? 有任何想法吗?
The problem is that $ bundle install
failed so activesupport 3.2.6
was not successfully installed. 问题是
$ bundle install
失败,因此未成功安装activesupport 3.2.6
。 As you can see here , jquery-rails 2.0.0
was yanked, that's why you see the "Could not find jquery-rails-2.0.0 in any of the sources" error. 正如你在这里看到的那样,
jquery-rails 2.0.0
被猛拉了,这就是为什么你看到“找不到任何源中的jquery-rails-2.0.0”错误的原因。
Open Gemfile
and update the version of jquery-rails
to "2.0.1" or "2.0.2". 打开
Gemfile
并将jquery-rails
的版本更新为“2.0.1”或“2.0.2”。 Re-run $ bundle install
then all should be fine. 重新运行
$ bundle install
然后一切都应该没问题。
I had the same problem after installing RVM on mountain lion 在山狮上安装RVM后我遇到了同样的问题
Simply run 简单地跑
bundle update
to fix the problem! 解决问题!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.