Talk:HOWTO RoR

From Gentoo Linux Wiki

Jump to: navigation, search
What is Ruby On Rail?
What's in the package?
Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. From the Ajax in the view, to the request and response in the controller, to the domain model wrapping the database, Rails gives you a pure-Ruby development environment. To go live, all you need to add is a database and a web server.


Is FCGI the only way to integrate Apache2 and Rails? Also do we *have* to install SQLite? Why can't the article tell the user what it is, and whether it would be appropriate to install it? -Graffitici

About your Question to SQLite.. no, you don't need it in this Wiki-Example. But with every useful Rails-Application you need one database in the background. I use mysql, because is the only one which i know how to configure ;) - Jumpy

[edit] Rails 2.0

The article is lacking info on installing rails 2.0 or updating from 1.x

Rails 2.0 is still hardmasked due to incompatibilities. --vadius 23:30, 28 December 2007 (UTC)

[edit] What about not hijacking the default virtual host

For example, if I wanted to have multiple RoR apps on the same server... This article doesn't really address this question.

[edit] mod_fcgid

mod_fcgid is binary compatible to mod_fcgi (should be, at least ;)) and is recommended over mod_fcgi. (Last updated 3 years ago, phew.)

Should be the same procedure except of replacing fcgi with fcgid... but I'm not quite sure. Apache and mod_fcgid hackers, do your thing. - Ionic

This drives me crazy. I don't know how to configure my apache to launch my ruby-application. I read some post about mod_fcgid and google a log. Then i found something on hostingrails.com, take a look under the Point "Make sure your .htaccess file sends requests to dispatch.fcgi". And it looks this "very important - Comment out"-Thing in .htaccess is missing in here. - Jumpy

Note: mod_fastcgi is now masked pending removal, would be nice if someone in the know updated this page to reflect this.


This manual don't explain good how to use mod_fcgid!!

Personal tools