OSDN Git Service

install letter_opener
authorNihad Abbasov <narkoz.2008@gmail.com>
Mon, 31 Oct 2011 12:20:41 +0000 (16:20 +0400)
committerNihad Abbasov <narkoz.2008@gmail.com>
Mon, 31 Oct 2011 12:20:41 +0000 (16:20 +0400)
Gemfile
Gemfile.lock
config/environments/development.rb

diff --git a/Gemfile b/Gemfile
index fc040ce..8da55b1 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -28,6 +28,7 @@ group :assets do
 end
 
 group :development do
+  gem 'letter_opener'
   gem 'rails-footnotes', '>= 3.7.5.rc4'
   gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
 end
index 83df35b..f66e832 100644 (file)
@@ -119,6 +119,8 @@ GEM
       rails (>= 3.0.0)
     launchy (2.0.5)
       addressable (~> 2.2.6)
+    letter_opener (0.0.2)
+      launchy
     libv8 (3.3.10.2)
     linecache19 (0.5.12)
       ruby_core_source (>= 0.1.4)
@@ -262,6 +264,7 @@ DEPENDENCIES
   jquery-rails
   kaminari
   launchy
+  letter_opener
   pygments.rb (= 0.2.3)
   rails (= 3.1.0)
   rails-footnotes (>= 3.7.5.rc4)
index 9e5bf82..173bfc7 100644 (file)
@@ -29,4 +29,5 @@ Gitlab::Application.configure do
   config.assets.debug = true
 
   config.action_mailer.default_url_options = { :host => 'localhost:3000' }
+  config.action_mailer.delivery_method = :letter_opener
 end