Commit 3f24f54061c728a75a1928a85e837e182d79f25f

Authored by Nihad Abbasov
1 parent 31280cd4

install letter_opener

Gemfile
... ... @@ -28,6 +28,7 @@ group :assets do
28 28 end
29 29  
30 30 group :development do
  31 + gem 'letter_opener'
31 32 gem 'rails-footnotes', '>= 3.7.5.rc4'
32 33 gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
33 34 end
... ...
Gemfile.lock
... ... @@ -119,6 +119,8 @@ GEM
119 119 rails (>= 3.0.0)
120 120 launchy (2.0.5)
121 121 addressable (~> 2.2.6)
  122 + letter_opener (0.0.2)
  123 + launchy
122 124 libv8 (3.3.10.2)
123 125 linecache19 (0.5.12)
124 126 ruby_core_source (>= 0.1.4)
... ... @@ -262,6 +264,7 @@ DEPENDENCIES
262 264 jquery-rails
263 265 kaminari
264 266 launchy
  267 + letter_opener
265 268 pygments.rb (= 0.2.3)
266 269 rails (= 3.1.0)
267 270 rails-footnotes (>= 3.7.5.rc4)
... ...
config/environments/development.rb
... ... @@ -29,4 +29,5 @@ Gitlab::Application.configure do
29 29 config.assets.debug = true
30 30  
31 31 config.action_mailer.default_url_options = { :host => 'localhost:3000' }
  32 + config.action_mailer.delivery_method = :letter_opener
32 33 end
... ...