It would be great to see how to setup capistrano to use staging environment may be the next screencasts :)
I don't know about Capistrano but, I do have a solution for staging environments using Vlad on my blog.
I've been using a custom environment for beta testing and it works really well. I can have beta testers using an edge version of my code while the production users data is unaffected. I can also give beta testers more info in their error messages.
Thanks for the tip.
One thing that made me curious enough to dig thru the initializer code was the bit on having to set the config.log_level = :debug. This isn't necessary. The initializer only sets the log level to :info if the environment == 'production'. Otherwise, all other environments are set to :debug
Look at the multistage plugin for capistrano, it will work nicely with additional environments.
Just found that you cannot use the underscore character (and possibly others) in the environment name.
I was after development_home, but had to settle for developmenthome.
First sign in through GitHub to post a comment.