Saturday, January 22, 2011

[Rails] How I do to run Rails on Apache?

Scenario: Windows Vista - Rails 3.0.3 - Rub(ies)1.9.2-p136 & 1.8.7p330
- MySQL5.5 - Apache2.2 - git/cygwin -everything setup and working, BUT
WEBrick is becoming temperamental. I want to run Rails on Apache.

Is it possible? What should I do.

I made some simple tests like build applications with Ruby 1.9.2 and
after with 1.8.7. Rails on WEBrick set the tables and makes the models/
migrations and tables at MySQL.

When I use 1.9.2 everything is well, but when I do the same
application with 1.8.7, I can only access the index page made by the
controller if I change the environment to 1.9.2.

WEBrick starts, but when I call http://localhost:3000 on browser, it
keeps rotating the cursor for ages&eons till the eternity arrives and
nothing loads. If I change tha environment to 1.9.2 and make the same
call index page appears.

Anyone can give any idea on what's happening?

Thanks a lot in anticipation.

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate