2017-05-31 64 views
-1

捆綁器1.15.0出來後,我突然遇到運行我的Rails應用程序的問題。我不想降級到捆綁軟件1.14.6,因爲我們的部署工具會自動檢索最新版本的捆綁軟件。bundler 1.15.0 omniauth-cas

下面是我看到的輸出當我運行rails s

/Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:85:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'omniauth-cas'. (Bundler::GemRequireError) 
Gem Load Error is: undefined method `option' for OmniAuth::Strategies::CAS:Class 
Backtrace for gem load error is: 
/Users/justin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/omniauth-cas-1.1.1/lib/omniauth/strategies/cas.rb:19:in `<class:CAS>' 
... 

回答

0

嘗試清除一切從你的/ tmp /緩存文件夾中。您也可以嘗試運行bundle exec rails s以確保打包程序以正確的上下文運行服務器

+0

謝謝,我希望這會有所幫助,但可悲的是它沒有。 – jbirdjavi