Closed ericenns closed 8 years ago
Hmm, I'm not sure of the cause, the error message isn't particularly helpful… don't suppose the source code of this library is online?
It isn't but I just put something up that I followed the same steps, the name has just changed to combustion_test.
Here it is:
Just found some time to fire up that test repo locally, and the issue is that while you've got a dependency listed for Rails, you're not actually requiring it (anything listed in the gemspec as a dependency still needs to be manually required).
The unhelpful error messages are either from Rails or Bundler, I'm not sure which, but either way, adding require 'rails'
to lib/ciqap_cd4.rb
before you require other things that may require it - especially your engine - should get rackup
running smoothly.
I ended up adding require 'rails' to config.ru and now the rackup command works.
Also I updated my example combustion_test with the fixes, for future reference.
This is the stack trace that I get when trying to run rackup, not sure what the problem is.