Skip to content

Instantly share code, notes, and snippets.

@Zhomart
Created November 17, 2014 18:47
Show Gist options
  • Save Zhomart/80c8be14900369d02499 to your computer and use it in GitHub Desktop.
Save Zhomart/80c8be14900369d02499 to your computer and use it in GitHub Desktop.
Example of gemfile
source 'http://rubygems.org'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.1.7'
# Webserver
gem 'puma'
# ORM
gem 'mongoid', '~> 4.0.0' #github: 'mongoid/mongoid'
# CSS pre-processor
gem 'stylus', '~> 1.0'
# Charts and beautiful analysis
gem 'chartkick'
gem 'browser'
# Create issues on github for server errors
gem 'party_foul'
# Analyze server/app
gem 'newrelic_rpm'
# Log errors server/app/javascript
gem 'rollbar', '~> 1.2.6'
# Form builder
gem 'formtastic'
gem 'formtastic-bootstrap', '~> 3.0.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
# twitter bootstrap css & javascript toolkit
gem 'twitter-bootswatch-rails', '~> 3.1.0.4' #'~> 3.1.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'
# Make HTTP requests to other resources
gem "rest-client", '~> 1.6'
# Authentication
gem 'devise', '~> 3.2.1'
# gem 'devise_invitable', '~> 1.3.1'
# Authorization
gem 'cancan', '~> 1.6.10'
# Gem to manage file uploads
gem 'carrierwave'
gem "carrierwave-mongoid"
# upload files to cloud
gem 'fog'
# Image worker gem
gem 'mini_magick'
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.1.2'
# Use debugger
# gem 'debugger', group: [:development, :test]
# Create easy search
gem 'ransack', github: 'Zhomart/ransack', branch: 'mongoid'
# ActiveAdmin
gem 'activeadmin', github: 'Zhomart/active_admin'
gem 'activeadmin-mongoid', github: 'Zhomart/activeadmin-mongoid', branch: 'ransack-mongoid'
# Colorize terminal texts
gem 'colorize'
# Background worker
gem 'resque', '~> 1.24'
gem 'resque-scheduler', '~> 2.0'
# Syntax highlighting
gem 'coderay'
# Shows how fast your server on the browser and its plugins
gem 'rack-mini-profiler'
gem 'flamegraph'
gem 'memory_profiler'
gem 'stackprof' # need for flamegraph
# Determine location by IP
gem 'geoip'
group :development, :test do
# source mapper
gem 'coffee-rails-source-maps'
# load .env
gem 'dotenv-rails'
# Deploy with Mina
gem 'mina', github: 'mina-deploy/mina'
# disable asset logging
gem 'quiet_assets'
# find your route on a long journey over Rails with Sextant.
# http://localhost:3000/rails/routes
gem 'sextant'
gem 'better_errors'
gem 'binding_of_caller'
gem 'pry-rails'
# `rails s`, `rails c` and `rake` will be faster.
gem 'spring'
# Testing Javascript
gem 'jasmine'
end
group :test do
gem 'rspec-rails' # testing suite
# gem 'brakeman' # tries to brake our site ))
gem 'guard-rspec' # autotest suite
gem 'guard-spork' # makes rspec work faster (it preloads rails libraries)
gem 'capybara' # browser emulation suite
gem 'launchy' # need to debugging capybara. Launch browser
gem 'factory_girl_rails', :require => false # Model Factory gem (Replacement for Fixtures)
gem 'vcr' # make faster testing with saving. (If test has remote files, twitter or facebook )
gem 'webmock' # A test helper for faking responses to web requests. Need to VCR
# change rspec output
gem 'fuubar'
# A library for generating fake data such as names, addresses, and phone numbers.
# http://faker.rubyforge.org
gem "faker"
end
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment