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?
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.