I attempted to install ffmpeg for my Heroku Rails app and now my app is crashing.
I added a buildpack using the following command:
heroku config:add BUILDPACK_URL=https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
After pushing to Heroku, I get the following error according to my logs:
2013-11-17T17:50:44.022351+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 47171` 2013-11-17T17:50:46.295602+00:00 app[web.1]: bash: bundle: command not found 2013-11-17T17:50:47.589491+00:00 heroku[web.1]: Process exited with status 127 2013-11-17T17:50:47.597968+00:00 heroku[web.1]: State changed from starting to crashed 2013-11-17T17:50:48.620853+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ (...) fwd="76.118.180.235" dyno= connect= service= status=503 bytes= 2013-11-17T17:50:48.847288+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=(...) fwd="76.118.180.235" dyno= connect= service= status=503 bytes=
When I run heroku run rake db:migrate, I get the error:
Running `rake db:migrate` attached to terminal... up, run.9791 (in /app) rake aborted! no such file to load -- bundler/setup <internal:lib/rubygems/custom_require>:29:in `require' <internal:lib/rubygems/custom_require>:29:in `require' /app/config/boot.rb:6:in `<top (required)>' <internal:lib/rubygems/custom_require>:29:in `require' <internal:lib/rubygems/custom_require>:29:in `require' /app/config/application.rb:1:in `<top (required)>' <internal:lib/rubygems/custom_require>:29:in `require' <internal:lib/rubygems/custom_require>:29:in `require' /app/Rakefile:5:in `<top (required)>' /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load' /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling' /usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run' /usr/local/bin/rake:31:in `<main>'
When I check the version of bundler I'm using (bundle show bundler), I get:
/Users/(...).rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5/lib/bundler.rb:284: warning: Insecure world writable dir /usr/local in PATH, mode 040777 /Users/(...)/.rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5
How can I solve this problem?