[Rails] Assets and FastCGI
by Jason Stewart other posts by this author
Sep 9 2005 6:37AM messages near this date
Re: [Rails] Webrick on Port 80
|
[Rails] Using validation helpers for custom validation
Hi there,
This is my first post to the list. For the most part, RoR development
has been easy and straightforward except for deployment.
I'll be as detailed as possible here.
I have an existing site that I'm grafting rails onto via symlink and
I'm using the instructions from the wiki to do it:
http://wiki.rubyonrails.com/rails/show/HowtoUseSymLinksToGraftRailsOntoYourWebsite
When I use the cgi dispatcher everything works fine, but slow. When I
use the fastcgi dispatcher my rails application can not locate the
assets (images, javascript, and stylesheets).
I have everything set correctly to the best of my knowledge, as
evidenced by the success of the cgi dispatcher.
I'm using the link_to and image_tag asset helpers.
What should I look at next?
I'm getting stuff like this in my application log for each asset that
my app tries to load:
ActionController::RoutingError (Recognition failed for
"/images/header.jpg") ... and so on and so forth for stylesheets and
javascripts.
Regards,
Jason Stewart
wannabe Rails developer.
_______________________________________________
Rails mailing list
Rails@[...].org
http://lists.rubyonrails.org/mailman/listinfo/rails
|