我有一个bizzare错误,我似乎没有找到任何方法来解决它。基本上,我的heroku部署失败并显示该消息。Bundler :: GemRequireError:试图加载宝石'omniauth-oauth2'时发生错误
更多:
Removing bourbon (4.3.1)
remote: Removing hashie (3.5.1)
remote: -----> Detecting rake tasks
remote: sh: 3: Syntax error: Unterminated quoted string
remote: sh: 3: Syntax error: Unterminated quoted string
remote: !
remote: ! Could not detect rake tasks
remote: ! ensure you can run `$ bundle exec rake -P` against your app
remote: ! and using the production group of your Gemfile.
remote: ! rake aborted!
remote: ! Bundler::GemRequireError: There was an error while trying to load the gem 'omniauth-oauth2'.
remote: ! Gem Load Error is: private method `warn' called for nil:NilClass
remote: ! Backtrace for gem load error is:
remote: ! /tmp/build_569fee1a9e7d8fb80c93fc3634a76861/vendor/bundle/ruby/2.2.0/gems/hashie-3.5.2/lib/hashie/mash.rb:334:in `log_built_in_message'
我尝试了很多东西,清理资产,预编译,TMP清晰,更新的宝石,宝石运行质朴,似乎没有任何工作。
,它正在罚款昨天 - 今天我是附近触及的Gemfile或omniauth
知道的任何帮助,没办法。
嘿谢谢你伸出援手 - 似乎3.5.3已经出来了欢呼! –