I am trying to run the TeamBox fork crewmate on branch master
, which uses Rails 3.0.20.
Running in Development on my machine, when I open any page in the browser, the log shows the following entries:
NameError (uninitialized constant Sprockets::Secretary):
rake (0.9.2) lib/rake/ext/module.rb:36:in `const_missing'
sprockets-rails (0.0.1) lib/sprocket.rb:38:in `secretary'
app/controllers/sprockets_controller.rb:14:in `send'
app/controllers/sprockets_controller.rb:14:in `show'
app/controllers/sprockets_controller.rb:6:in `index'
...
This happens both when I specify Ruby 1.8.7 or 1.9.3 in the Gemfile.
On the browser, the result is that the javascript console logs the following error:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Localhost:3000/sprockets.js
I don't know if anyone can point me to the solution specifically for crewbox or more in general for Rails.
What is this "Secretary" missing?
I tried updating to a more recent version of sprocket-rails
, however by doing so the problem is that the sprockets_include_tag
throws an exception (looks like it does not exist anymore).
Having a suggestion about how to replace the sprockets_include_tag
with something else in a more recent version of sprocket-rails
may do the trick.