Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
[#18] Removed unused gems from Gemfile
Browse files Browse the repository at this point in the history
The following gems were removed either because they are not used anymore
or because they are not an app dependency.

For example, we still use foreman but this should not be installed
through the gemfile. Run `gem install foreman` to install it.

rails-erd
ruby-graphviz
ruby-prof
bluecloth
choice
foreman
gon
annotate
  • Loading branch information
Philip Hale committed Sep 1, 2013
1 parent 6cad3f7 commit 6171f8c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 42 deletions.
25 changes: 7 additions & 18 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,50 +7,39 @@ ruby '1.9.3' # Ruby!
gem 'rails', '3.2.14' # Rails!
gem 'pg' # PostgreSQL, the database server
gem 'thin' # Web server
gem 'foreman' # For launching with the Procfile and keeping track of environment variables from .env

## Utilities
#gem 'pry-rails', :group => :development # Better 'rails console'
#gem 'pry-exception_explorer', :group => :development # Puts you in the console when an exception is raised
#gem 'pry-debugger' # Adds next, step and continue to Pry for debugging

gem 'newrelic_rpm', :group => [:production, :staging, :development] # Rails analytics - see the Heroku addon
gem 'annotate', '~>2.4.1.beta' # Annotates models with database info: `bundle exec rake:annotate`
gem 'rails-erd' # Create Entity Relationship Diagrams
gem 'progressbar' # Display progress bars in terminal output
gem 'facets', :require => false # Some extra methods for ruby
gem 'seed_dump' # Adds a rake task which constructs a db/seeds.rb file based on the current database state. Super useful!
gem 'jquery-ui-rails' # Package jQuery for the Rails 3.1+ asset pipeline
gem 'ruby-prof', '~>0.12.2' # ruby profiler
gem 'rollbar', '~>0.10.11' # SaaS to track exceptions
gem 'rollbar', '~>0.10.11' # SaaS to track exceptions

## SEO
gem 'meta-tags', :require => 'meta_tags' # Search Engine Optimization (SEO) plugin for Ruby on Rails applications.

## Performance and optimization
gem 'delayed_job_active_record' # Lets you queue tasks as background jobs
gem 'dalli' # memcache gem for Rails.cache
gem 'kgio'
gem 'kgio' # gives 20~30% performance boost to Dalli

## Admin
gem 'activeadmin', '0.4.4' # Back-end Content Management System
gem 'devise', '~> 2.0' # User authentication
gem 'devise', '~> 2.0' # User authentication
gem 'cancan' # User permissions

## Search and NLP
gem 'tanker' # library for interacting with Searchify
gem 'hunspell-ffi' # Spellchecking library
gem 'hunspell-ffi' # Spellchecking library
gem 'text' # NLP algorithms
gem 'httparty' # For accessing APIs directly
gem 'json' # Convert between JSON and Ruby objects

## Content and presentation
gem 'bluecloth' # Parse Markdown
gem 'kramdown' # Better markdown parser with support for markdown-extra
gem 'friendly_id' # Create permalinks / descriptive URLs / slugs
gem 'gon' # Easy passing of data from the controller to javascript files
gem 'paperclip', '~> 3.0' # Easy file attachment library for ActiveRecord
gem 'aws-sdk', '~> 1.3.4' # Upload files to Amazon S3
#gem 'pagedown-rails', '1.0.0' # Markdown editor

## Gems used only for assets and not required
## in production environments by default.
Expand All @@ -72,7 +61,7 @@ group :test, :development do
gem 'guard-rspec' # Guard integratio for RSpec. Guard monitors files and automatically and intelligently runs 'rspec spec' in the background
gem 'factory_girl_rails' # Create factories to test against
gem 'spork-rails' # Speeds up TDD by launching multiple Rails instances in the background
gem 'guard-spork' # Make guard aware of Spork - automatically restart spork if a change requires a rails restart
gem 'guard-spork' # Make guard aware of Spork - automatically restart spork if a change requires a rails restart
gem 'capybara-webkit' # JS driver for Capybara (headless)
gem 'memcached' # Local memcache
gem 'sextant' # visit /rails/routes in the browser for nicer 'rake routes'
Expand All @@ -83,5 +72,5 @@ gem 'test-unit' # Remove at your peril. Too many othe
group :test do
gem "sqlite3" # Use SQLite instead of PostgreSQL for tests
gem 'database_cleaner' # Purge the test database between test runs
gem 'simplecov', :require => false # Calculates code coverage and outputs info to html.
gem 'simplecov', :require => false # Calculates code coverage and outputs info to html.
end
21 changes: 0 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@ GEM
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
addressable (2.3.2)
annotate (2.4.1.beta1)
arel (3.0.2)
aws-sdk (1.3.9)
httparty (~> 0.7)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bcrypt-ruby (3.0.1)
bluecloth (2.2.0)
bourbon (3.0.1)
sass (>= 3.2.0)
thor
Expand All @@ -68,7 +66,6 @@ GEM
json
childprocess (0.3.6)
ffi (~> 1.0, >= 1.0.6)
choice (0.1.6)
cocaine (0.4.2)
coderay (1.0.8)
coffee-rails (3.2.2)
Expand Down Expand Up @@ -105,14 +102,9 @@ GEM
railties (>= 3.0.0)
fastercsv (1.5.5)
ffi (1.0.11)
foreman (0.60.2)
thor (>= 0.13.6)
formtastic (2.1.1)
actionpack (~> 3.0)
friendly_id (4.0.9)
gon (4.0.2)
actionpack (>= 2.3.0)
json
guard (1.6.1)
listen (>= 0.6.0)
lumberjack (>= 1.0.2)
Expand Down Expand Up @@ -215,11 +207,6 @@ GEM
activesupport (= 3.2.14)
bundler (~> 1.0)
railties (= 3.2.14)
rails-erd (1.0.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
choice (~> 0.1.6)
ruby-graphviz (~> 1.0.4)
railties (3.2.14)
actionpack (= 3.2.14)
activesupport (= 3.2.14)
Expand Down Expand Up @@ -250,8 +237,6 @@ GEM
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
ruby-graphviz (1.0.8)
ruby-prof (0.12.2)
rubyzip (0.9.9)
sass (3.2.5)
sass-rails (3.2.5)
Expand Down Expand Up @@ -321,9 +306,7 @@ PLATFORMS

DEPENDENCIES
activeadmin (= 0.4.4)
annotate (~> 2.4.1.beta)
aws-sdk (~> 1.3.4)
bluecloth
cancan
capybara
capybara-webkit
Expand All @@ -334,9 +317,7 @@ DEPENDENCIES
devise (~> 2.0)
facets
factory_girl_rails
foreman
friendly_id
gon
guard-rspec
guard-spork
httparty
Expand All @@ -355,10 +336,8 @@ DEPENDENCIES
pg
progressbar
rails (= 3.2.14)
rails-erd
rollbar (~> 0.10.11)
rspec-rails (>= 2.10.1)
ruby-prof (~> 0.12.2)
sass-rails (~> 3.2.5)
seed_dump
sextant
Expand Down
5 changes: 2 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale =1,maximum-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<%= include_gon %>
<%= stylesheet_link_tag "application-all", :media => "all" %>
<%= stylesheet_link_tag "application-mobile", :media => "all and (max-width: 969px)" %>
<%= stylesheet_link_tag "application-print", :media => "print" %>

<!--[if lte IE 8]>
<%= stylesheet_link_tag "application-ie", :media=> "all" %>
<![endif]-->
Expand Down Expand Up @@ -90,4 +89,4 @@
</script>

</body>
</html>
</html>

0 comments on commit 6171f8c

Please sign in to comment.