Hello,

i've just installed lovdbyless framework package on an Ubuntu 11.10
desktop.
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
all.
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 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 @
categoriesrubyonrails
postedOct 19, '11 at 9:53a
activeOct 19, '11 at 9:53a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Andrea Campagna: 1 post

People

Translate

site design / logo © 2021 Grokbase