SyntaxHighlighter

Tuesday, October 26, 2010

Heroku Read-Only file system

I recently got this error on an app I was pushing to Heroku for the first time:

==> dyno-687840.log (crash) <==
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/definition.rb:184:in `initialize': Read-only file system - /disk1/home/slugs/101931_3c1385b_c5a8-4204ff34-8821-47c1-a8e8-b951ce5a6c3f/mnt/Gemfile.lock - Heroku has a read-only filesystem. See http://docs.heroku.com/constraints#read-only-filesystem (Errno::EROFS)

The reason was because I'd checked in the tmp directory and it's contents. Woops.