Skip to content

Instantly share code, notes, and snippets.

@kittolau
Created October 4, 2015 09:58
Show Gist options
  • Save kittolau/337f30f80991d6f70309 to your computer and use it in GitHub Desktop.
Save kittolau/337f30f80991d6f70309 to your computer and use it in GitHub Desktop.
Rails Resource
#Paging
gem "kaminari"
#mobile Push notification
gem 'rpush'
#Image upload
gem "rmagick"
gem "carrierwave"
#background job
gem "sidekiq"
gem "resque"
#admin panel
gem "activeadmin"
#i18n
gem 'rails-i18n'
#form
gem 'formtastic', '~> 3.0'
#captcha
gem "recaptcha", :require => "recaptcha/rails"
#Permalinks & Slugs
gem 'friendly_id', '~> 5.1.0' # Note: You MUST use 5.0.0 or greater for Rails 4.0+
#breadcrumb
gem "breadcrumbs_on_rails"
#soft delete
gem "paranoia", "~> 2.0"
#User authorization
gem 'cancancan', '~> 1.10'
#User authentication
gem "devise"
#OAuth login
gem 'omniauth'
gem 'omniauth-facebook'
#HTTP client
gem 'httparty'
#Debug
group :development do
#an IRB replacement
gem 'pry'
#getting pry in Rails console to replace IRB
#can also use "show-routes --grep new", "show-models" in the console
gem 'pry-rails'
#Adds step, next, finish and continue commands and breakpoints to Pry using byebug. Only supoort Ruby 2+
# adding "binding.pry" to use it
gem 'pry-byebug'
gem 'pry-stack_explorer'
#the document used in console with "show-doc" command
gem 'pry-doc'
#better printing
gem 'awesome_print'
#adding support for remote debugging
#gem 'pry-remote'
#replaces the standard Rails error page with a much better and more useful error page.
#if using vagrant
# insert the below code into environments/development.rb to by pass the ip filter
#
# if defined? BetterErrors
# BetterErrors::Middleware.allow_ip! "10.0.2.2"
# end
gem "better_errors"
# to enable the REPL and local/instance variable inspection in better_errors
gem "binding_of_caller"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment