ruby on rails - Ransack error in production NoMethodError (undefined method `search' for -


only in production nomethoderror (undefined method `search' for...... ransack gem in gem file, , after deploying have restarted app on vps.

i tried type

grep ransack gemfile.lock 

in root of app on vps, , receive

ransack (0.7.2) ransack 

on local , remote machine i'm using ruby v 2.0.0-p0

i figured out on own. simple, on local development environment.

cap deploy:stop 

then

cap bundle:install 

after

cap deploy:start 

and works :)


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -