Rails4 Application Template. - Rails Application Templates — Ruby on Rails Guides
It's easy to start Rails4 x PosgreSQL/MySQL application.
In addition, you can choose following options;
- Errbit
- MongoDB
- Redis
- Heroku Push
I recommend to install gibo before generating Rails project. - simonwhitaker/gibo
(It's not compulsory, maybe...)
brew install gibo
Execute following command for PostgreSQL:
rails new test_app --database=postgresql --skip-test-unit --skip-bundle -m https://raw.github.com/morizyun/rails4_template/master/app_template.rb
Execute following command for MySQL:
rails new test_app --database=mysql --skip-test-unit --skip-bundle -m https://raw.github.com/morizyun/rails4_template/master/app_template.rb
Caution: Please don't use '-' in application name.
Description of this template in Japanese is as follows;
- Ruby 2.2.2
- Rails 4.2.1
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request