yum install rails did not work?
yum install rails did not work. What should I do?
PS: trying to install ruby rails |
Maybe there is no RPM package for Rails. Or you don't have the repository that provides the rpm installed. I tried to search for a rails package in google, but I cannot find something useful, hence I guess you have to install it from source.
<edit> Correction: there are some packages (old versions anyway) out there, specifically for mandriva, opensuse and ubuntu. Found them at www.rpmseek.com </edit> |
Confused! Via yum I had installed ruby & irb 1.8.5. So I am looking at installing the appropriate version of ruby on rails which supports this version of ruby. How do u find repositories which have ruby or rails or anything and then add it to your repo list?
|
# yum search rails
# yum install rubygem-rails mysql-devel ruby-devel ... rubygem-rails is in the 'epel.repo'. # gem install rails ... and wait 5 minutes for it to complete the install. Next Code:
# gem install mysql -- --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql --with-mysql-config http://involution.com/railsonrhel/ which is the first hit, by Googling .. dag rpm rails .. ( The page was issued 2005, at that time there was no rpm package(s) rubygem-* available.) ..... Please also do # yum search ruby to see some other 'rubygem-xxxx' packages. ..... Good luck ! ..... |
how do you add that repo?
|
# yum -y install epel-release
epel means "extra packages el" |
i did a search for it. It does not exist.
|
Quote:
|
Sorry , I wasn't that alert.:Pengy:
It is a 'vicious circle'. The package 'epel-release' is in ...... the epel.repo. :D ..... |
well to install epel-release
Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm Code:
yum install ruby-irb ruby-libs rubygems ruby ruby-rdoc Good luck |
All times are GMT -5. The time now is 10:14 PM. |