Hi Tom, I see a different error: see http://skitch.com/dovadi/dxmwn/app-failed-to-start.
Heroku has a read only file system. If you don't have a file named 'secret' in your root directory, it tries to create a file and write a secret key to it. See http://skitch.com/dovadi/dxmi8/config-environment.rb-at-master-from-insoshi-s-insoshi-github. The solution is add a file in your root directory with the name 'secret' and add a string from at least 30 and all random characters. You can use 'rake secret' in the console to generate such a string. (or you can replace the secret variable in environment.rb with this string) Normally you wouldn't add this file (or secret string) to your repository, but if it is a private repo and you want to use Heroku you can choose do this and deploy the new version and it should work. See also http://guides.rubyonrails.org/security.html#session-storage Frank On Aug 3, 5:26 pm, Tom Scott <[email protected]> wrote: > Has anyone tried deploying Insoshi on Heroku? I've been trying for > about a week now! > > I've been having problems specifically with this line of code in > "config/environment.rb": > secret = ActiveSupport::SecureRandom.hex(64) > > Heroku's server throws a NameError (uninitialized constant) when it > gets to this line. Although my code is slightly modified from the > insoshi github repo, I have not touched environment.rb at all, and > definitely not this bit of code here. > > You can view the app error athttp://illup.heroku.com/ -- You received this message because you are subscribed to the Google Groups "Insoshi" 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/insoshi?hl=en.
