hi,

During the migration to a new server, I started running into some
issues. I'd been running production on passenger which does not seem
to have any problems, but the idea was to now use unicorn or thin or
some other server to spawn the instances.

When starting unicorn, thin or webrick in production mode, the static
contents get errors saying there's no matching routes.  To try to
debug the issue, I created a new app using Rails3.beta3

 $ rails goop
 $  cd goop/
 $  rm public/index.html
 $   bundle install
 $  rails g scaffold welcome
 $  vim config/routes.rb
 $  RACK_ENV=production rake db:migrate
 $ rails s -e production

When viewing the app, also none of the static pages are displayed:

Request URL:http://localhost:3000/javascripts/rails.js?1273018144
Request Method:GET
Status Code:404 Not Found

Request URL:http://localhost:3000/stylesheets/scaffold.css?1273018199
Request Method:GET
Status Code:404 Not Found

etc ...

What is the problem here?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to