Folks, I've been following a ruby tutorial, at a step where I am trying to add some CSS to the pages.
ActionController::RoutingError (No route matches [GET] "/assets/blueprint/print.css"):
I believe my routes.rb file is messed up:
FirstApp::Application.routes.draw do
get "pages/home"
get "pages/contact"
get "pages/about"
root :to => "home#index"
application.html.erb file:
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'blueprint/screen', :media => 'screen' %>
<%= stylesheet_link_tag 'blueprint/print', :media => 'print' %>
</head>
<body>
<%= yield %>
</body>
</html>
Directory structure on the server:
first_app% ls public
404.html 422.html 500.html downloads favicon.ico index.html.backup master.zip robots.txt stylesheets
[vasiliy@vbweb]~/ruby/first_app% ls public/stylesheets
blueprint
[vasiliy@vbweb]~/ruby/first_app% ls public/stylesheets/blueprint
ie.css plugins print.css screen.css src
tree.)