I have Rails 4.0.0 app. When I run bundle install command there is no problem. This is my GemFile.
source \'https://rubygems.org\' # Bundle edge Rails inste
For me it worked by just deleting the dependency for version of bycript in the /active_model/secure_password.rb for development test environment.
I always made sure to add it in production just to 100% safe