【发布时间】:2011-01-25 00:07:13
【问题描述】:
我正在使用 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)'
这是我的 gemfile (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
我被卡住了……
【问题讨论】:
标签: ruby-on-rails git gem bundler