I am using Jammit for asset packaging and in order to get the JST templates compiled, I am forcing Jammit to package in the jasmine_config.rb file. For some reason (probably having to do with rspec-rails updates), the Rails module doesn't respond to root, env, public_path etc anymore.
I have made changes to jammit.rb and controller.rb to prefix all Rails with :: and check that they respond_to? root, env, public_path etc.
I am using Jammit for asset packaging and in order to get the JST templates compiled, I am forcing Jammit to package in the jasmine_config.rb file. For some reason (probably having to do with rspec-rails updates), the Rails module doesn't respond to root, env, public_path etc anymore.
I have made changes to jammit.rb and controller.rb to prefix all Rails with :: and check that they respond_to? root, env, public_path etc.