Skip to content

Commit

Permalink
added letter_opener gem #19
Browse files Browse the repository at this point in the history
  • Loading branch information
Duke committed May 5, 2013
1 parent c046039 commit 83c595e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ group :development do
gem 'rb-fsevent', '~> 0.9.1'
gem 'guard-livereload'
gem 'rack-livereload'
gem 'letter_opener'
end

group :development, :test do
Expand Down
6 changes: 6 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ GEM
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
addressable (2.3.4)
arbre (1.0.1)
activesupport (>= 3.0.0)
arel (3.0.2)
Expand Down Expand Up @@ -125,6 +126,10 @@ GEM
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kgio (2.8.0)
launchy (2.2.0)
addressable (~> 2.3)
letter_opener (1.1.0)
launchy (~> 2.2.0)
listen (1.0.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
Expand Down Expand Up @@ -255,6 +260,7 @@ DEPENDENCIES
guard-livereload
inploy
jquery-rails
letter_opener
meta_search
neat
pg
Expand Down
8 changes: 3 additions & 5 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false

config.action_mailer.delivery_method = :letter_opener

# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log

Expand All @@ -34,18 +36,14 @@

# Expands the lines which load the assets
config.assets.debug = true
end

AdoteSeuPedido::Application.configure do
config.middleware.insert_before(Rack::Lock, Rack::LiveReload)
end

AdoteSeuPedido::Application.configure do
silence_warnings do
begin
require 'pry'
IRB = Pry
rescue LoadError
end
end
end
end

0 comments on commit 83c595e

Please sign in to comment.