ruby-on-rails – 有没有修复“Could not find * gem * in any s
发布时间:2020-12-16 20:18:33 所属栏目:百科 来源:网络整理
导读:我正在设计一个新的计算机上的开发环境. git clone -o heroku git@heroku.com:theirapp.gitcd theirappbundleFetching gem metadata from https://rubygems.org/......Fetching gem metadata from https://rubygems.org/..Could not find jquery-rails-2.0.0
我正在设计一个新的计算机上的开发环境.
git clone -o heroku git@heroku.com:theirapp.git cd theirapp bundle 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 在google搜索这个错误之后,响应似乎是删除Gemfile.lock,然后再次运行bundle.这有效,但是我有不同版本的宝石,我没有在Gemfile中指定版本.有没有办法解决这个错误,而不删除Gemfile.lock?我使用的是Rails 3.2和Ruby 1.9.3. 解决方法
根据rubygems.org,jquery-rails 2.0.0已经是
yanked.这解释了你使用jquery-rails的错误.
运行$bundle update jquery-rails将重建宝石快照.这样你就不必删除Gemfile.lock (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |