I'm having a very strange problem with capistrano when deploying to my staging environment. I'm using Ruby 2.0.0 , Rails 4.2.3 and Capistrano 3.4.0 . My environment on the server is ready, however when I give a cap staging deploy
, the process runs normally, until I get this error:
NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper
I notice that it is related to the precompile, since in the lines that precede the error, I see:
Tasks: TOP => deploy:assets:precompile
I have tried to change the Rails version to 4.2.0 , but the problem continues to be the same.
Could anyone tell me what might be wrong?