PHP Version 5.1.6
Apache Version Apache/2.2.3 (CentOS)
Following instructions from ‘Ruby On Rails and Virtualmin’
- I installed the required packages on a CentOS system:
[code:1]yum install ruby ruby-devel gcc make mysql-devel sqlite sqlite-devel[/code:1]
Followed instructions for ‘Installing Rails For a Virtual Server’ with a database and clicked ‘Install Now’.
[code:1]Installing Ruby Gems package …
Installing package(s) with command yum -y install rubygems …
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
… install complete.
… failed to install!
4. On searching these forums I came across a thread where it was mentioned that:
The fix is to login as root via SSH and install manually with the command :
gem install mysql – --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql
The go back into Virtualmin and re-try the Rails install.
-sh-3.1$ gem --version
-sh: gem: command not found
Appreciate some guidance as to what to do next.
Cyrus<br><br>Post edited by: cyrus, at: 2007/12/22 09:34