Here is my solution....

In environment.rb add this comment

#SED_ME

in your deployment task add this.

 task :after_update_code, :roles => :app do
    run "rm -rf #{release_path}/public/.htaccess"
    run %Q( sed -i "s/#SED_ME/RAILS_ENV = 'staging'/"
#{release_path}/config/environment.rb )
end


ugly but works.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"WellRailed" 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/WellRailed?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to