Locomotive didn't work well or I don't know enough about it. Also I couldn't use Eclipse with it.
So I installed Ruby on Rails and all the dependencies from command line, including compiling Ruby from src.
Certainly my experience of installing it from command line on Ubuntu in order to install the latest one instead of the older one installed by packaging tool helped me.
Also installed Subversion server.
The steps I had to take reminded me of what I had to do when I installed it on Ubuntu.
But this time, I installed everything under /usr/local instead of using the packaged ones for the depending libraries. So it involved more.
Those libraries are in addition to what is written in Dan Benjamin's blog.
But I liked the process because it was Unix/Linux-like. Of course, it is Unix.
The steps I took for Subversion installation are as follows:
1. Install Apache Portable Runtime.
1-1. Download src.(http://apr.apache.org/download.cgi)
1-2. ./configure --prefix=/usr/local
1-4. sudo make install
2. Install Apache Portable Runtime Utility.
2-1. Download src. (http://apr.apache.org/download.cgi)
2-2. ./configure --prefix=/usr/local --with-apr=/usr/local/
2-4. sudo make install
3. Install WebDAV neon.
3-1. Download src. (http://www.webdav.org/neon/neon-0.25.5.tar.gz)
3-2. ./configure --prefix=/usr/local --with-openssl --with-ssl
3-4. sudo make install
4. Install Apache to eliminate warning during ./configure for subversion.
4-1. Download src. (http://httpd.apache.org/download.cgi)
4-2. ./configure --prefix=/usr/local --enable-module=so
4-4. sudo make install
5. Install Apache Portable Runtime iconv.
5-1. Download src. (http://apr.apache.org/download.cgi)
5-2. ./configure --prefix=/usr/local --with-apr=/usr/local/
5-3. sudo make install
6. Install Subversion.
6-1. Download src.
6-2. ./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib --with-apxs
6-4. sudo make install