These files contains the most usable gems and configuration for the initial setup of a plain Rails-application.
Since Rails provides templates for adding gems, initializers, etc. to your freshly created Rails project or an existing Rails project, I collected the most loved gems and configuration I'd like to share.
To find more suitable gem for special case I like using The Ruby Toolbox site.
- PostgreSQL
- Rails 7
- Ruby 3.1.2
To apply this template for any new project you create, put the .railsrc file in your $HOME
directory.
cd $HOME
curl https://raw.githubusercontent.com/Bellatrix988/rails-template/main/.railsrc --output .railsrcSimple user standard command for creation new application.
rails new app_name
For convenient merge two versions of conviction files, I'm using rubymine diff tool.
To use it, in RubyMine, install the CLI by selecting Tools - Create Command-line Launcher in the menu.
export THOR_MERGE="mine diff $1 $2"
Next I'm
bin/rails app:template LOCATION=https://raw.githubusercontent.com/Bellatrix988/rails-template/main/template.rb
- Devise
- Enumerize
- Frontend
- Unils
- Rubocop
- Annotate gem - is command line tool that will add useful comments to your Gemfile.
- Testing