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
content properly.
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' ? '' : '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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedOct 19, '11 at 9:53a
activeOct 19, '11 at 9:53a

1 user in discussion

Andrea Campagna: 1 post



site design / logo © 2022 Grokbase