Raser is the base Rails application used at 41studio.
To build a Rails application using the Raser tool:
$ rails new myapp -m https://raw.github.com/41studio/raser/master/raser.rb
Replace myapp with the name of your application.
The $ character indicates a shell prompt; don’t include it when you run the command.
It includes application gems like:
- Exception Notification for exception notification
- jQuery Rails for jQuery
- Postgres for access to the Postgres database
- Simple Form for form markup and style
- Puma to serve HTTP requests
- Kaminari for paginator helper.
- Friendly Id for create pretty URL’s.
- Nprogress Slim progress bars for Ajax'y applications
- Carrierwave for file uploads helper.
- Sidekiq for background processing.
- Slim for template language.
- Devise for authentication.
And development gems like:
- Dotenv for loading environment variables
- Pry Rails for interactively exploring objects
- ByeBug for interactively debugging behavior
- Bullet for help to kill N+1 queries and unused eager loading
- Bundler Audit for scanning the Gemfile for insecure dependencies based on published CVEs
- Spring for fast Rails actions via pre-loading
- Quiet Assets for muting assets pipeline log messages
- Rails Panel for Chrome extension that will end your tailing of development.log
- Rack Mini Profiler for profiler your development Ruby rack apps.
- Better Errors for better error page.
- Letter Opener web for browsing sent emails.
- Annotate for comment summarizing the current schema to the top of model, fixture, etc
And testing gems like:
- Capybara and Capybara Webkit for integration testing
- Factory Girl for test data
- Formulaic for integration testing HTML forms
- RSpec for unit testing
- Shoulda Matchers for common RSpec matchers
- Timecop for testing time
Raser uses spring by default.
It makes Rails applications load faster, but it might introduce confusing issues
around stale code not being refreshed.
If you think your application is running old code, run spring stop
.
And if you'd rather not use spring, add DISABLE_SPRING=1
to your login file.
If you have problems, please create a GitHub Issue.
- Fork the project
- Create your feature or fix branch (
git checkout -b my-new-feature
) - Writing new feature or fixing something
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Perform a pull request in GitHub's web interface.
Raser is Copyright © 2016 41studio. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Raser is maintained and funded by 41studio, inc. The names and logos for 41studio are trademarks of 41studio, inc.