Skip to content

Instantly share code, notes, and snippets.

@Koroeskohr
Last active August 12, 2016 14:19
Show Gist options
  • Save Koroeskohr/f935df942c4c7c5bd081b8eb40e1a3b5 to your computer and use it in GitHub Desktop.
Save Koroeskohr/f935df942c4c7c5bd081b8eb40e1a3b5 to your computer and use it in GitHub Desktop.
Beloved Gems
# Spring is a bug nest, Turbolinks is annoying. REMOVED.
=begin
Those gems shouldn't be added to the Gemfile because they mess with a Rails install.
- Mailcatcher : catches all mails sent by the Rails application by setting up the SMTP server as Mailcatcher's in development.
=end
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.6'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Authentication
gem 'devise'
# And all omniauth gems
# Backoffice
gem 'activeadmin', github: 'activeadmin'
# Interactions
gem 'active_interaction', '~> 3.0'
# Rails enums suck, this solves the problem.
gem 'enumerize'
# Modular image management. CarrierWave is a solid second
gem 'shrine'
# Needed for shrine plugins
gem 'image_processing'
gem 'mini_magick'
gem 'roda'
gem 'fastimage'
# I18n for Rails projects
gem 'rails-i18n', '~> 4.0.0'
# SEO-friendly URLs
gem 'friendly_id', '~> 5.1'
# Command pattern in Ruby. Allows to decouple actions from controllers (each action is a Ruby class)
gem 'active_interaction'
# State machine pattern in Ruby. Great for applications that need to ensure certain states are
gem 'statesman'
# Pagination
gem 'will_paginate'
gem 'kaminari'
# Nested form easy add/remove
gem 'cocoon'
group :development, :test do
# Great debugger
gem 'byebug' # or 'pry-byebug'
# Colored logs in console
gem 'shog'
# Test coverage
gem 'simplecov'
# Generates meaningful placeholder content
gem 'faker'
# Hides env vars from git repos.
gem 'figaro'
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Code review tool.
gem "rubycritic", :require => false
# Better errors screen
gem 'better_errors'
# Colored and formatted irb/pry
gem 'awesome_print'
end
group :test do
# Great testing framework
gem 'rspec'
gem "rspec-rails"
# Allows easy resource generation for testing
gem "factory_girl"
gem "factory_girl_rails"
# When starting a test, ensures the database is in a state that is equal to the one of the previous test. Ensures a clean state.
gem "database_cleaner"
# Registers API calls, store responses in files. Allows to have faster tests, prevents multiple calls on an API that throttle calls.
# Unifies tests by having a unique response.
gem "vcr"
gem "webmock"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment