jwhitley/requirejs-rails

Why requirejs-rails need to connect to database on asset:precompile?

Opened this issue · 1 comments

I was wondering that when I want to precompile my assets in staging, there's connection error because it cannot connect to my staging database. But the concern is, why requirejs precompile need to connect to database, while normal assets:precompile doesn't?

medyo commented

I've no idea but you can set development database details as production, precompile assets then revert to old details.