Lock `mail` gem to ~> 2.5.4

Rails 4.1.6+ will relax the mail gem version requirement to `~> 2.5, >= 2.5.4`.
However, mail gem 2.6.x currently does not work with discourse because of the
reference to `Mail::RFC2822Parser` in `lib/email.rb`. This ensure discourse
would continue to work with Rails 4.1.6+ when it is released.
This commit is contained in:
Godfrey Chan 2014-08-24 00:43:08 -07:00
parent a11a21ca09
commit b0f35cbf6a
2 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,8 @@ else
end
gem 'rails-observers'
gem 'mail', '~> 2.5.4'
#gem 'redis-rails'
gem 'hiredis'
gem 'redis', require: ["redis", "redis/connection/hiredis"]

View File

@ -436,6 +436,7 @@ DEPENDENCIES
listen (= 0.7.3)
logster
lru_redux
mail (~> 2.5.4)
memory_profiler
message_bus
minitest