Heroku stylesheet_link_tag - application.css

Witam,
Ostatnimi czasy postanowiłem poprawić wygląd checkbox-ów w swoim projekcie użyłem więc gemu iOS Style Checkboxes
wszystko udało pomyślnie na localu działa więc “zaszalałem” i postanowiłem pchnąć to na heroku…
i ukazał mi się jak że nielubiany komunikat “something went wrong” ;]
to możę przedstawie log :

2012-11-01T12:18:00+00:00 app[web.1]: Compiled friendships.css (0ms) (pid 2) 2012-11-01T12:18:00+00:00 app[web.1]: Compiled users.css (1ms) (pid 2) 2012-11-01T12:18:00+00:00 app[web.1]: Compiled application.css (2726ms) (pid 2) 2012-11-01T12:18:00+00:00 app[web.1]: Completed 500 Internal Server Error in 6894ms 2012-11-01T12:18:00+00:00 app[web.1]: Rendered users/_rejestracja.erb (14.1ms) 2012-11-01T12:18:00+00:00 app[web.1]: Rendered fortunes/witaj.html.erb within layouts/application (62.1ms) 2012-11-01T12:18:00+00:00 app[web.1]: Compiled twitter/bootstrap.css (580ms) (pid 2) 2012-11-01T12:18:00+00:00 app[web.1]: Compiled ios-checkboxes.css (2041ms) (pid 2) 2012-11-01T12:18:00+00:00 app[web.1]: Compiled bootstrap-responsive.css (0ms) (pid 2) 2012-11-01T12:18:00+00:00 heroku[router]: GET napsterug.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=7037ms status=500 bytes=643 2012-11-01T12:19:45+00:00 heroku[slugc]: Slug compilation started 2012-11-01T12:20:16+00:00 heroku[web.1]: State changed from up to down 2012-11-01T12:20:16+00:00 heroku[web.1]: State changed from down to starting 2012-11-01T12:20:16+00:00 heroku[slugc]: Slug compilation finished 2012-11-01T12:20:18+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 5095` 2012-11-01T12:20:19+00:00 heroku[web.1]: Stopping all processes with SIGTERM 2012-11-01T12:20:19+00:00 app[web.1]: [2012-11-01 12:20:19] ERROR SignalException: SIGTERM 2012-11-01T12:20:19+00:00 app[web.1]: /usr/local/lib/ruby/1.9.1/webrick/server.rb:90:in `select' 2012-11-01T12:20:23+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5) 2012-11-01T12:20:23+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5) 2012-11-01T12:20:23+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5) 2012-11-01T12:20:26+00:00 app[web.1]: [2012-11-01 12:20:26] INFO WEBrick 1.3.1 2012-11-01T12:20:26+00:00 app[web.1]: [2012-11-01 12:20:26] INFO ruby 1.9.2 (2011-07-09) [x86_64-linux] 2012-11-01T12:20:26+00:00 app[web.1]: [2012-11-01 12:20:26] INFO WEBrick::HTTPServer#start: pid=2 port=5095 2012-11-01T12:20:27+00:00 heroku[web.1]: State changed from starting to up 2012-11-01T12:20:29+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL 2012-11-01T12:20:29+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM 2012-11-01T12:20:31+00:00 heroku[web.1]: Process exited with status 137 2012-11-01T12:21:08+00:00 app[web.1]: cache: [GET /logo.png] miss 2012-11-01T12:21:08+00:00 heroku[router]: GET napsterug.herokuapp.com/logo.png dyno=web.1 queue=0 wait=0ms service=2665ms status=200 bytes=10648 2012-11-01T12:21:11+00:00 app[web.1]: cache: [GET /Girl.png] miss 2012-11-01T12:21:11+00:00 heroku[router]: GET napsterug.herokuapp.com/Girl.png dyno=web.1 queue=0 wait=0ms service=20ms status=200 bytes=64963 2012-11-01T12:21:12+00:00 app[web.1]: cache: [GET /Boy.gif] miss 2012-11-01T12:21:12+00:00 heroku[router]: GET napsterug.herokuapp.com/Boy.gif dyno=web.1 queue=0 wait=0ms service=17ms status=200 bytes=18764 2012-11-01T12:21:19+00:00 heroku[router]: GET napsterug.herokuapp.com/logo.png dyno=web.1 queue=0 wait=0ms service=4ms status=304 bytes=0 2012-11-01T12:21:19+00:00 app[web.1]: cache: [GET /logo.png] miss 2012-11-01T12:21:24+00:00 app[web.1]: cache: [GET /logo.png] miss 2012-11-01T12:21:24+00:00 heroku[router]: GET napsterug.herokuapp.com/logo.png dyno=web.1 queue=0 wait=0ms service=6ms status=304 bytes=0 2012-11-01T12:21:45+00:00 app[web.1]: cache: [GET /logo.png] miss 2012-11-01T12:21:45+00:00 heroku[router]: GET napsterug.herokuapp.com/logo.png dyno=web.1 queue=0 wait=0ms service=4ms status=304 bytes=0 2012-11-01T12:22:10+00:00 heroku[router]: GET napsterug.herokuapp.com/logo.png dyno=web.1 queue=0 wait=0ms service=6ms status=304 bytes=0 2012-11-01T12:22:11+00:00 app[web.1]: cache: [GET /logo.png] miss 2012-11-01T12:23:05+00:00 app[web.1]: => Booting WEBrick 2012-11-01T12:23:05+00:00 app[web.1]: => Rails 3.2.2 application starting in production on http://0.0.0.0:5095 2012-11-01T12:23:05+00:00 app[web.1]: => Call with -d to detach 2012-11-01T12:23:05+00:00 app[web.1]: => Ctrl-C to shutdown server 2012-11-01T12:23:05+00:00 app[web.1]: 2012-11-01T12:23:05+00:00 app[web.1]: 2012-11-01T12:23:05+00:00 app[web.1]: Started GET "/" for 31.7.43.26 at 2012-11-01 12:23:05 +0000 2012-11-01T12:23:11+00:00 app[web.1]: 2012-11-01T12:23:11+00:00 app[web.1]: ActionView::Template::Error (Alpha channel 10 must be between 0 and 1 inclusive for `rgba' 2012-11-01T12:23:11+00:00 app[web.1]: (in /app/app/assets/stylesheets/application.css)): 2012-11-01T12:23:11+00:00 app[web.1]: 12: <%= javascript_include_tag "application" %> 2012-11-01T12:23:11+00:00 app[web.1]: 13: <%= javascript_include_tag :defaults %> 2012-11-01T12:23:11+00:00 app[web.1]: 8: <![endif]--> 2012-11-01T12:23:11+00:00 app[web.1]: 9: <link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'> 2012-11-01T12:23:11+00:00 app[web.1]: 10: <link href='http://fonts.googleapis.com/css?family=Exo:500' rel='stylesheet' type='text/css'> 2012-11-01T12:23:11+00:00 app[web.1]: 14: <%= csrf_meta_tags %> 2012-11-01T12:23:11+00:00 app[web.1]: 11: <%= stylesheet_link_tag "application" %> 2012-11-01T12:23:11+00:00 app[web.1]: app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb__2299298221145106304_31683220' 2012-11-01T12:23:11+00:00 app[web.1]: 2012-11-01T12:23:11+00:00 app[web.1]: 2012-11-01T12:23:11+00:00 app[web.1]: cache: [GET /] miss 2012-11-01T12:23:11+00:00 app[web.1]: Processing by FortunesController#witaj as HTML 2012-11-01T12:23:11+00:00 app[web.1]: Rendered users/_rejestracja.erb (14.9ms) 2012-11-01T12:23:11+00:00 app[web.1]: Rendered fortunes/witaj.html.erb within layouts/application (64.4ms) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled twitter/bootstrap.css (593ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled ios-checkboxes.css (160ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled bootstrap-responsive.css (0ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled bootstrap-responsive.min.css (0ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled bootstrap.css (0ms) (pid 2) 2012-11-01T12:23:11+00:00 heroku[router]: GET napsterug.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=5285ms status=500 bytes=643 2012-11-01T12:23:11+00:00 app[web.1]: Compiled bootstrap.min.css (0ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled fortunes.css (1ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled friendships.css (1ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled scaffolds.css (16ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled users.css (1ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Compiled application.css (862ms) (pid 2) 2012-11-01T12:23:11+00:00 app[web.1]: Completed 500 Internal Server Error in 5123ms 2012-11-01T12:23:11+00:00 app[web.1]: 2012-11-01T12:23:11+00:00 app[web.1]: 2012-11-01T12:23:11+00:00 app[web.1]: Started GET "/" for 31.7.43.26 at 2012-11-01 12:23:11 +0000 2012-11-01T12:23:15+00:00 app[web.1]: ActionView::Template::Error (Alpha channel 10 must be between 0 and 1 inclusive for `rgba' 2012-11-01T12:23:15+00:00 app[web.1]: (in /app/app/assets/stylesheets/application.css)): 2012-11-01T12:23:15+00:00 app[web.1]: 8: <![endif]--> 2012-11-01T12:23:15+00:00 app[web.1]: 9: <link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'> 2012-11-01T12:23:15+00:00 app[web.1]: 10: <link href='http://fonts.googleapis.com/css?family=Exo:500' rel='stylesheet' type='text/css'> 2012-11-01T12:23:15+00:00 app[web.1]: 11: <%= stylesheet_link_tag "application" %> 2012-11-01T12:23:15+00:00 app[web.1]: 12: <%= javascript_include_tag "application" %> 2012-11-01T12:23:15+00:00 app[web.1]: 2012-11-01T12:23:15+00:00 app[web.1]: 13: <%= javascript_include_tag :defaults %> 2012-11-01T12:23:15+00:00 app[web.1]: 14: <%= csrf_meta_tags %> 2012-11-01T12:23:15+00:00 app[web.1]: cache: [GET /] miss 2012-11-01T12:23:15+00:00 app[web.1]: app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb__2299298221145106304_31683220' 2012-11-01T12:23:15+00:00 app[web.1]: 2012-11-01T12:23:15+00:00 app[web.1]: 2012-11-01T12:23:15+00:00 app[web.1]: Processing by FortunesController#witaj as HTML 2012-11-01T12:23:15+00:00 app[web.1]: Rendered users/_rejestracja.erb (2.1ms) 2012-11-01T12:23:15+00:00 app[web.1]: Rendered fortunes/witaj.html.erb within layouts/application (2.5ms) 2012-11-01T12:23:15+00:00 app[web.1]: Completed 500 Internal Server Error in 4185ms 2012-11-01T12:23:15+00:00 heroku[router]: GET napsterug.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=5986ms status=500 bytes=643
jeżeli dobrze rozumiem log to problem powtaje w miejscu application.css :

[code]/*

  • This is a manifest file that’ll be compiled into application.css, which will include all the files
  • listed below.
  • Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
  • or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
  • You’re free to add application-wide styles to this file and they’ll appear at the top of the
  • compiled file, but it’s generally better to create a new file per style scope.

*= require twitter/bootstrap
*= require ios-checkboxes
*= require_self
*= require_tree .
*/[/code]
dodam jeszcze że:

<%= stylesheet_link_tag "application" %> //gdy to usunę to aplkacja działa na heroku ale niewczytuje css-ów i źle to wygląda ;p

podam jeszcze aplication.css //próbowałem modyfikować na różne sposoby i nic to niedało …

ma ktoś pomysł co może być nie tak ?

**UPDATE

  1. usunąłem wszystkie Microsoft Gradients z css-ów i nie ma już tego błedu w logu jednak aplikacja wciąż nie działa na heroku
  2. usunąłem błąd w jednym z css-ów dotyczącego:
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 10) na box-shadow: 0px 1px 3px rgba(0, 0, 0, 1)
    i oto problem się rozwiązal :slight_smile: więc czytanie logów jednak coś daje ;PP
    Pozdrawiam wszystkich

nie pomogę, ale znalazłeś buga w (konfiguracji) forum :wink:

właśnie zauważyłem że coś się wysypało ;p “404 Not Found”