Rda(Rails Development Assist) is combined with lots of useful rake tasks which
can help you to setup your development enviroments and tools more quickly.
- Setup RVM for your rails application
- Deploy your rails application to Nginx (rails_env is set to development by default)
- Release your rails application
gem install rda
Or simply add the gem into Gemfile
gem 'rda'
rake rda:rvm:setup
First of all, this task will check whether the RVM is installed. If RVM is installed,
it will create a .rvmrc for the application with the content which looks like:
if [[ -s "/path/to/rvm/environments/ruby-1.9.3-p0@app_name" ]]; then
. "/path/to/rvm/environments/ruby-1.9.3-p0@app_name"
else
rvm use ruby-1.9.3-p0@app_name --create
fi
If RVM is not installed this task will do nothing but exit.
rake rda:nginx:setup
rake rda:release
This project rocks and uses MIT-LICENSE.