- Jeff
- Posts: 1
- Starts: 2
- Wiki Edits: 0
I had an interesting time getting my first rails app to deploy. It turned out to be an enhancement to capistrano. With version 1.4 (possibly earlier), a :set_permissions task has been added which will "chmod -R g+w" your <railsapp>/release/######. I found the references in the hostingrails tutorials and forums regarding the 755 perms for the dispatch.fcgi, but it turns out that the group write bit must be removed from the public directory as well. HARUMPH! The easiest fix is to not chmod the tree after it is checked out of the repository. Easily nuked by defining your own :set_permissions task in your config/deploy.rb script:
desc ""
task :set_permissions do
end
Jeff
2007-02-03 10:52 PM