- rails new my_app -d postgresql --skip-bundle
- rvm gemset create my_app
- touch my_app/.rvmrc && echo "rvm use 2.1.0@my_app" >> my_app/.rvmrc && cd my_app/
- yes Gemfile
- bundle install
- rails g rspec:install
- rm -rf test/ Add to spec/spec_helper.rb
- mkdir spec/support && touch spec/support/factory_girl.rb factory_girl.rb
- rails g cucumber:install --capybara --rspec
- touch features/support/database_cleaner.rb database_cleaner.rb
- rails g devise:install
- rails g devise User
- rails g cancan:ability
Sabtu, 28 Juni 2014
Getting Started with Ruby on Rails Part 1
Setup Repository
Langganan:
Postingan (Atom)