Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread John Beynon
If you're referencing 'my.css' directly have you added it to the list of files to be precompiled in application.rb assets.precompile += ['my.css'] by default Rails will only precompile application.css and application.js John. On Wed, Jan 8, 2014 at 3:05 AM, richard schneeman < richard.schnee..

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread Keenan Brock
Hi john Make sure your CSS file is included in your config/environments/production.rb Look for a commented out section mentioning application stylesheets and java scripts. maybe precompile asset pipeline? It bites people all the time and there are currently discussions on how to fix in

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread roror
That was absolutely it, Keenan. Thank you! In config/environments/production.rb, I've now changed the boolean to true for: config.serve_static_assets = true and added a regex I found online to include ALL css and js files config.assets.precompile += %w( *.css *.js ) I lost my workflow now tho

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread John Beynon
excellent - although rails_12factor is setting config.serve_static_assets = true for you already. https://github.com/heroku/rails_serve_static_assets/blob/master/lib/rails_serve_static_assets/railtie.rb#L4 On Wed, Jan 8, 2014 at 5:44 PM, roror wrote: > That was absolutely it, Keenan. Thank yo

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread roror
i'll remove that change then to make things as clear as possible. thanks again! On Wednesday, January 8, 2014 11:53:39 AM UTC-8, John Beynon wrote: > > excellent - although rails_12factor is setting config.serve_static_assets > = true for you already. > > > https://github.com/heroku/rails_serve

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread richard schneeman
It appears you skipped my previous suggestion. If you add in https://github.com/schneems/sprockets_better_errors you'll never make this mistake again, it checks for this problem in development so you don't deploy broken code to production. Parts of it have already been merged into Rails master. No

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread roror
oh missed that. just tried it out and it's working great! may app now has that gem. i hope it gets into rails master asap! On Wednesday, January 8, 2014 12:15:46 PM UTC-8, richard schneeman wrote: > > It appears you skipped my previous suggestion. If you add in > https://github.com/schneems/s

Re: Heroku does NOT compile files under assets pipelines in Rails 4

2014-01-08 Thread richard schneeman
It just got merged today! I'm glad you got your app working, also thanks for trying my gem :)— Sent from Mailbox for iPhone On Wed, Jan 8, 2014 at 8:32 PM, roror wrote: > oh missed that. just tried it out and it's working great! may app now has > that gem. i hope it gets into rails master a