[英]bundle install does not find my gem!
我使用的是simplegeo,rubygems.org中的gem不是最新的,因此我在gemfile中使用了以下代码:
gem 'sg-ruby', :git => 'https://github.com/simplegeo/simplegeo-ruby.git'
它运行良好,但是今天,我删除了这一行,运行bundle install
,使用simplegeo还原了gemfile,重新运行bundle install
,现在我不能摆脱以下问题:
Updating https://github.com/simplegeo/simplegeo-ruby.git
Fetching source index for http://rubygems.org/
Could not find gem 'sg-ruby (>= 0, runtime)' in https://github.com/simplegeo/simplegeo-ruby.git (at master).
Source does not contain any versions of 'sg-ruby (>= 0, runtime)'
这是我的宝石文件(FYI)
source 'http://rubygems.org'
gem 'rails', '3.0.0'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem "compass", ">= 0.10.4" # The CSS framework
gem "ruby-debug", ">= 0.10.3" # enable debug (vital!)
gem "will_paginate", "~> 3.0.pre2" # The de-facto standard pagination gem for table in rails
gem 'hassle', :git => 'git://github.com/koppen/hassle.git', :group => :production # In order to use compass on heroku (read-only)
gem 'jquery-rails' # using jquery instead of prototype with just a gem
gem 'delorean' # getting back in time for testing purposes
gem 'sg-ruby', :git => 'https://github.com/simplegeo/simplegeo-ruby.git' # SimpleGeo gem
我被困住了...
您是否尝试过使用以下地址:git://github.com/simplegeo/simplegeo-ruby.git
而不是https://github.com/simplegeo/simplegeo-ruby.git '
干杯
lib已重命名,请看此更改链接,使用simplegeo代替sg-ruby
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.