Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed May 4, 2009
1 parent 6b1cc23 commit b897e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/dependencies.rake
Expand Up @@ -107,9 +107,9 @@ namespace :dependencies do
begin
ENV['RAILS_ENV'] = environment
RAILS_ENV = environment
rescue
puts 'Temp Error Message'
load File.join(RAILS_ROOT, 'config', 'environment.rb')
rescue StandardError => ex
puts "Something went wrong: #{ex.message}"
exit 1
end

Expand Down

0 comments on commit b897e5d

Please sign in to comment.