Blueberry Rails 
A Rails application template used at Blueberry Apps.
Installation
Install the gem:
$ gem install blueberry_rails
Then you can run
$ blueberry_rails newproject
Available options
Translation Engine
--translation-engine
Custom Erros
--custom-errors
Fontcustom
--fontncustom
Twitter bootstrap
--bootstrap
Devise
--devise
Devise model
--devise_model User
Use Gulp instead of Asset Pipeline
--gulp
Gems
Blueberry Rails template contains following gems by default:
- Better Errors for better error pages
- dotenv for server-side configuration
- Devise for user authentication
- New Relic RPM for performance monitoring
- Mailcatcher for testing & viewing emails
- PostgreSQL driver (pg)
- slim for templates
- simple_form for better & easier forms
Testing related:
- Capybara for acceptance testing
- Guard for automatically running specs
- Factory Girl as a fixtures replacement
- Rspec
Gulp
Based on Gulp on Rails: Replacing the Asset Pipeline and corresponding GitHub repository.
Additional articles
Usage
$ blueberry_rails newproject --gulp
$ npm install
Default Gulp task, compiles stylesheets/javascripts and starts BrowserSync (for frontend dev)
$ gulp
Compile all assets w/o BrowserSync (for backend dev)
$ gulp development
Generate production ready assets (including fingerprinting)
$ gulp build
Start BrowserSync
$ gulp watch
Optimize image size
$ gulp images
Generate font icons from SVGs
$ gulp fontIcons
Add fingerprints to assets
$ gulp rev
Remove all assets
$ gulp clean
Other great stuff
- Do not secret token in the repo - load it via ENV variable
- Default Slim application layout
- Generates User model by default (via devise)
- Partial for displaying flash messages in the default layout
Credits
Based on suspenders gem by thoughtbot.
Contributing
- 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