I am testing another application in local
in my environment.rb I wrote
config.action_controller.relative_url_root = "/elnino"
config.action_controller.asset_host = "http://opticoaching.local"
I defined correctly the vhost (I have already odne it for another app
which is running well...)
<VirtualHost *:80>
ServerName opticoaching.local
DocumentRoot "/Users/yves/Sites/rails/opticoaching"
RailsEnv development
RailsDefaultUser yves
RailsBaseURI /elnino
<Directory /Users/yves/Sites/rails/opticoaching/elnino/public/ >
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
opticoaching.local is registered (as usual) in my etc/hosts
executing http://opticoaching.local/elnino, the CSS and images are not
taken in account ..
http://opticoaching.local/elnino/
http://opticoaching.local/images/elnino.jpg
http://opticoaching.local/stylesheets/application.css
what could be wrong ?
I already did it for another application without any problem ..
cannot find the differences...
thanks for you suggestions
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---