Linux.com

Installing Ruby on Rails in Linux

Posted by: Anonymous [ip: 24.131.41.49] on December 04, 2008 10:10 PM
There's much to like about RoRs. The list is long.

Likewise, there are a few things that need to be improved.
- memory use
- gem memory requirements

Gem is a huge. In this day of virtual servers, minimizing memory requirements goes directly towards the cost of each server environment. As a concrete example, I run Typo - a RoR blog http://typosphere.org/projects/show/typo. Since it is a relatively tiny site, we use SQLite3 for the database. No mySQL on this VM. Nothing else was installed except enough postfix and cron to manage the server. Nothing. If I don't want to swap, I can squeeze everything into 256MB. That's correct. Now, if I run gem and try to update packages, it runs for a few hours, then fails. I'm able to increase the memory to 768MB and rerun 'gem update'. Watching the memory used, it grabs over 600MB. That's just crazy, isn't it?

#

Return to Installing Ruby on Rails in Linux