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 rails. Ruby5 mentioned a gem recently.




Best of luck




Ping me if you can't find and I'll track down when I get to a computer.




Best of luck

Keenan

On Tue, Jan 7, 2014 at 9:02 PM, roror <stelli...@gmail.com> wrote:

> I've been reading stackoverflow for more than 4 hours now.  I can only get 
> application.js to compile on heroku.  This is a very simple, static webapp 
> I'm working on.  My *.css.scss files only have one obvious field to isolate 
> out compile-time failures.
> In my Gemfile and Gemfile.lock I have:
> group :production do
>   gem 'rails_12factor'
> end
> In app/views/layouts/mycontroller.html.erb:
> I'm using
> <head>
>   <%= stylesheet_link_tag "path/to/my.css" %>
>   ...
> </head>
> Everything works fine on my localhost, but I cannot get my css on heroku.
> http://stackoverflow.com/questions/15354539/heroku-does-not-compile-files-under-assets-piplines-in-rails-4
> http://stackoverflow.com/questions/20984600/cant-find-css-after-pushing-to-heroku
> http://guides.rubyonrails.org/asset_pipeline.html#coding-links-to-assets
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to heroku+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to