i've just installed lovdbyless framework package on an Ubuntu 11.10
I'm using ruby 1.8.7 and rails 2.2.2 due to compatibility problem.
THe application work fine locally, i've installed mongrel as serverweb
and as soon as i connect locally to "localhost:3000" i can see all the
When i try to connect through another machine the CSS is not used at
I've searched over the web and i've read that it's necessary to modify
the global_variables.rb file like that:
SITE = RAILS_ENV == 'production' ? 'mydomain.com' : 'localhost:3000'
Right now i still don't have a domain but a static ip so i modified the
file with the IP address of the machine:
SITE = RAILS_ENV == 'production' ? '10.0.0.5' : 'localhost:3000'
The CSS is still not downloaded/used when i connect from another PC.
Does anyone know the reason?
THanks in advance for the help
Posted via http://www.ruby-forum.com/.
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 firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.