0

在 heroku 上推送代码时出现此错误。有没有人可以解决我的问题。

   Resolving dependencies...
   ..Bundler could not find compatible versions for gem "hashie":
   In Gemfile:
   omniauth-google (>= 0) ruby depends on
   hashie (~> 1.2) ruby
   flying-sphinx (= 0.6.2) ruby depends on
   hashie (1.0.0)
   Bundler Output: Fetching gem metadata from http://rubygems.org/.......
   Fetching gem metadata from http://rubygems.org/..
   Resolving dependencies...
   ..Bundler could not find compatible versions for gem "hashie":
   In Gemfile:
   omniauth-google (>= 0) ruby depends on
   hashie (~> 1.2) ruby

   flying-sphinx (= 0.6.2) ruby depends on
   hashie (1.0.0)
 !
 !     Failed to install gems via Bundler.
 !

 !     Push rejected, failed to compile Ruby/Rails 
4

1 回答 1

0

最新版本的 fly-sphinx 解决了依赖问题:

gem 'flying-sphinx', github: 'flying-sphinx/flying-sphinx'
于 2013-10-15T14:59:59.063 回答