2

Ruby on Rails shows only 1 line or two lines of stack trace. I need to see the stack trace. How do I turn it on?

Rails.backtrace_cleaner.remove_silencers! does not have any effect. I am using Rails 4.2 and Ruby 2.3

b264
  • 334
  • 1
  • 2
  • 11
  • this can be an IRB problem https://stackoverflow.com/questions/26295935/set-rails-console-stack-backtrace-limit-permanently – b264 Jan 06 '16 at 15:32

1 Answers1

1

~/.irbrc

IRB.conf[:BACK_TRACE_LIMIT]= 32767

b264
  • 334
  • 1
  • 2
  • 11