Reputation: 26122
In my gemfile I've got:
group :development do
gem 'eventmachine', "1.0.0.beta.4.1"
end
and in my gemfile.lock
DEPENDENCIES
eventmachine (= 1.0.0.beta.4.1)
When I try to push it to heroku it says that it can not find and istall eventmachine. But I don't need it on heroku server its for DEVELOPMENT environment. Why does it tries to install it? how should I handle this situation?
Upvotes: 2
Views: 877
Reputation: 5973
I think heroku uses it's own eventmachine. Currently it has eventmachine (0.12.10)
installed so that's the version you should use.
Upvotes: 0
Reputation: 7200
I just ran into this with SQLite. The solution is to keep requiring the gem in your source when in dev mode, but simply remove it from the Gemfile. The app will run on your dev machine cause event-machine is installed, but heroku will only install gems you tell it to in the Gemfile.
Upvotes: 3