An empty rails app configured the way I like it :)
Notice: this Rails 5 release is still beta. If you're starting a fresh application, go for it. Otherwise look at the rails4
branch.
Breaking changes:
mocha
has not been included in favour ofrspec-expectations
boilerplates
are no more included
Still missing for a full migration:
- All JS testing stuff (
konacha
andsinon
) is still not compatible yet with Rails 5 (see work at branch rails5-konacha)
2014-2016 Rafael Reggiani Manzo
Even that this code has just basic modifications from a clean Rails application and I want to impose no restrictions on it, just for the formality here I define the license as MIT. Please check its text on the COPYING file.
If you feel big-hearted, please acknowledge my work maintaining this repository by putting a link to this repository on whatever your THANKs file is. Thank you :)
- Ruby version: 2.3.0
- Rails version: 5.0.0.beta2
- RVM: https://rvm.io
- You are free to change the license on the COPYING file
- Discard this README.md file and use the Rails' original one README.md.rails
- Fix the public/humans.txt file with your own info
- There is a config/database.yml.sample file that you can use to create the actual config/database.yml which is required by Rails
- The same is valid for config/secrets.yml.sample file that you can use to create the actual config/secrets.yml which is required by Rails
- Change the gemset name at .ruby-gemset After this you may need to exit the current folder and enter it again so RVM notice the change
- Run bundle install to install all the gems
- Your unit tests are expected to be at the spec folder following RSpec's standards (http://rspec.info) You should run them with the rake spec command
- Your acceptance tests are expected to be at the features following the cucumber standards (https://cukes.info) You should run them with the rake cucumber command
- If you are brave enough you can unit test your JavaScript/CoffeeScript using Konacha (Sinon.JS is available for mocking)
From here you are by yourself. Don't forget to check the Rails Guides when in doubt (http://guides.rubyonrails.org).
Don't hesitate on opening a issue with any question.