在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
答案 0 :(得分:0)
最新版本的fly-sphinx解决了依赖性问题:
gem 'flying-sphinx', github: 'flying-sphinx/flying-sphinx'