As you guys figured out, there are a couple of tweaks necessary to run Merb on Heroku. We'll work on getting those documented fully. Working from the template that IndianGuru mentioned (http://github.com/adamwiggins/merb-on-heroku) is a good place to start, and looking at this commit you can see what the changes are:
http://github.com/adamwiggins/merb-on-heroku/commit/d660d3c169a0006c39fe8d06377bb9985d5c91ce Writing to the filesystem is attempted by the Ruby Inline library, which wants to write to your user's home directory in a .ruby_inline subdir. Since home isn't writable, the patch above creates a fake home directory under tmp, which is writeable. This is in addition to a config.ru as specified in the docs (plus one extra line to point to the public dir, as reported by Brian Smith), and forcing the rakefile to run in the same environment as the application, so that it shares the same db config. Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
