MaurĂ­cio Linhares wrote:
> Look for the file config/initializers/backtrace_sileners.rb
> 
> And leave it just like this:
> 
> # Be sure to restart your server when you modify this file.
> 
> # You can add backtrace silencers for libraries that you're using but
> don't wish to see in your backtraces.
> # Rails.backtrace_cleaner.add_silencer { |line| line =~ 
> /my_noisy_library/ }
> 
> # You can also remove all the silencers if you're trying do debug a
> problem that might steem from framework code.
> Rails.backtrace_cleaner.remove_silencers!
> 
> You'll get all backtraces again.

That didn't seem to affect scripts/runner

For now, I kludged it by doing:

begin
  <rest of script>
rescue => e
  puts e.backtrace
  exit 1
end

I hope there is a better solution.

Thanks again,
Perry
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to