Skip to content

Commit

Permalink
Depend on the railties gem rather than the rails one
Browse files Browse the repository at this point in the history
Some Rails projects do not rely on Rails, like those not using ActiveRecord. We shouldn't force those projects to download unnecessary gems.
  • Loading branch information
rosenfeld committed Dec 22, 2014
1 parent 79b2427 commit 1a3114a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion letter_opener_web.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

gem.add_dependency 'rails', '>= 3.2'
gem.add_dependency 'railties', '>= 3.2'
gem.add_dependency 'action_mailer', '>= 3.2'
gem.add_dependency 'letter_opener', '~> 1.0'

gem.add_development_dependency 'rspec-rails', '~> 3.0'
Expand Down

0 comments on commit 1a3114a

Please sign in to comment.