小编Joh*_*ohn的帖子

蓝图css rails 3.1帮助

我的蓝图css在我的本地机器上工作,但是当我推送到heroku时我得到一个错误.

我有蓝图存储在我的app/assets/stylesheets folder,这里是我正在使用的样式表标签:

<%= stylesheet_link_tag    "application" %>
<%= stylesheet_link_tag 'blueprint/screen', :media => 'screen' %>
<%= stylesheet_link_tag 'blueprint/print',  :media => 'print' %>
Run Code Online (Sandbox Code Playgroud)

在我的heroku日志中,它说application.css没有预编译,我认为这可能是错误,但我不知道如何解决它.

这是我的heroku日志:

2011-09-04T07:35:59+00:00 heroku[web.1]: Idling
2011-09-04T07:36:00+00:00 heroku[web.1]: State changed from up to down
2011-09-04T07:36:00+00:00 heroku[web.1]: State changed from down to created
2011-09-04T07:36:00+00:00 heroku[web.1]: State changed from created to starting
2011-09-04T07:36:01+00:00 heroku[web.1]: Stopping process with SIGTERM
2011-09-04T07:36:01+00:00 app[web.1]: >> Stopping ...
2011-09-04T07:36:01+00:00 heroku[web.1]: Process exited
2011-09-04T07:36:04+00:00 heroku[web.1]: Starting process with command `thin -p 44288 -e production -R /home/heroku_rack/heroku.ru …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails heroku ruby-on-rails-3 ruby-on-rails-3.1

23
推荐指数
2
解决办法
4578
查看次数