質問

Yesterday I had a masked error, that should have been very easy to debug with a proper stack-trace. Basically I had a gem which was included in my project which was missing a dependency. The stack-trace failed in my rails application and the actual failure was much deeper in the gems code.

How can I enable a full trace, through my rails application and into the included gem or engines code?

役に立ちましたか?

解決

With Rspec you can run the test with the --backtrace or -b option to see the full backtrace. http://www.christophseydel.pro/blog/2013/08/28/enable-full-backtrace-with-rspec/

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top