Wednesday, 7 March 2012

deploy rails with different user roles.

Using capistrano we can set the user running the application different from the user owning the files and folder of the application.


deploy.rb
set :app_runtime_user, "123"
set :app_runtime_group, "123group"

set :user, "abc"

"abc" will own the folders and "123" will run the application.

1 comment:

  1. It was really a nice article and i was really impressed by reading this Ruby on Rails Online Training India

    ReplyDelete