I assume this would be the same as enabling the asset pipeline in a project that was created --skip-sprockets
- I could be mistaken.
I'm trying to run rake assets:precompile
to test, and right now, since I've already added require 'sprockets/railtie'
to my config/application.rb - it finds the task at least - but it says:
no such table: app_configs
Update: I've discovered that this error is coming from a model in our application called AppConfig - so I'm looking into that part. I don't know why it only happens when running this rake task...
Update: It seems that this particular rake task is assuming I'm in the production environment, even though I'm in my development environment. Other rake tasks don't seem to have this problem... ? It shows that the task it's actually running is: /home/.../bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUP=assets
So it makes sense that it's not finding the table, because it's looking in the wrong database (probably one that doesn't even exist). But how is it determining (incorrectly) that it's in a production environment?