Open testa19 opened 7 years ago
It seems like it conflicts with: gem "rails3-jquery-autocomplete" gem "meta-tags" gem "twitter-bootstrap-rails" gem 'activeadmin', github: 'activeadmin' gem 'inherited_resources', github: 'activeadmin/inherited_resources'
+1
+1
+1
Like @testa19 reported, the problem could be in gem leather-3.5.1
. I found a possible solution https://github.com/Envek/monban/commit/581698f68e277866018c0448fcb28c0f97bdbb2c.
I modified :
/usr/local/lib/ruby/gems/2.4.0/gems/leather-3.5.1/lib/leather/action_controller_extension.rb
like the above link indicates:
helper_method :current_tab, :current_tab?
if respond_to?(:helper_method)
helper_method :current_tab, :current_tab?
end
and the bug disappeared.
For those who come late: I solved the problem adding this to the Gemfile:
gem 'leather', git: 'https://github.com/CultivateLabs/leather.git'
The original author of the gem merged this change, but didn't publish it yet as a gem
Hi there,
I'm getting this error after adding Storytime gem to my app's gemfile. Rails 5.
/usr/local/lib/ruby/gems/2.3.0/gems/leather-3.5.1/lib/leather/action_controller_extension.rb:7:in
block in <module:ActionControllerExtension>': undefined method
helper_method' for ActionController::API:Class (NoMethodError)Thanks