Started GET "/pp" for 126.96.36.199 at Thu Dec 08 17:51:41 +0800 2011
Processing by PpController#index as HTML
Rendered pp/index.html.erb within layouts/application (0.3ms)
Compiled application.css (2ms) (pid 19899)
Compiled pp.css (1ms) (pid 19899)
Completed 500 Internal Server Error in 17ms
ActionView::Template::Error (wrong number of arguments (2 for 1)):
5: <%= stylesheet_link_tag 'application'%>
7: <%= csrf_meta_tags %>
Rendered /usr/local/ruby/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /usr/local/ruby/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /usr/local/ruby/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
Can you paste the log in better format using Github Markdown or use '''ruby tag to show your log?
it works on my MAC OS, but when i move to centos it breaks like that, and i'm sure i use the same config!
Can you paste some of the Environment details also. like Ruby/Rails version.
ruby 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]
just the same as they are on MAC OS
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
the only difference between them might be the database(centos-mysql; mac-sqlite) and the Gemfile as i posted
Not sure about the error. Can we setup some sample application to reproduce the problem ??
Please try with 3.1.3, we do a lot of fixes to asset pipeline since the release of Rails 3.1.0
i''ll give it a try, i've got nothing to do anyway...
@rainysun Any updates regarding this issue? Was it solved? In that case can you please close this issue. :)