Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-18-2009, 02:19 AM
|
#1
|
|
Member
Registered: Aug 2007
Location: Chennai
Distribution: ubuntu
Posts: 111
Rep:
|
yum install rails did not work?
yum install rails did not work. What should I do?
PS: trying to install ruby rails
Last edited by deostroll; 08-18-2009 at 02:23 AM.
|
|
|
|
08-18-2009, 02:32 AM
|
#2
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,896
|
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>
Last edited by colucix; 08-18-2009 at 02:36 AM.
|
|
|
|
08-18-2009, 02:36 AM
|
#3
|
|
Member
Registered: Aug 2007
Location: Chennai
Distribution: ubuntu
Posts: 111
Original Poster
Rep:
|
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?
|
|
|
|
08-18-2009, 05:04 AM
|
#4
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,590
|
# 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
Ref.
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 !
.....
Last edited by knudfl; 08-18-2009 at 05:17 AM.
|
|
|
|
08-18-2009, 05:40 AM
|
#5
|
|
Member
Registered: Aug 2007
Location: Chennai
Distribution: ubuntu
Posts: 111
Original Poster
Rep:
|
how do you add that repo?
|
|
|
|
08-18-2009, 06:09 AM
|
#6
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,590
|
# yum -y install epel-release
epel means "extra packages el"
|
|
|
|
08-18-2009, 06:16 AM
|
#7
|
|
Member
Registered: Aug 2007
Location: Chennai
Distribution: ubuntu
Posts: 111
Original Poster
Rep:
|
i did a search for it. It does not exist.
|
|
|
|
08-18-2009, 08:11 AM
|
#8
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,896
|
Quote:
Originally Posted by deostroll
i did a search for it. It does not exist.
|
Take a look at http://wiki.centos.org/AdditionalResources/Repositories and search for Extra Packages for Enterprise Linux (EPEL). Follow instructions and the trick is done.
|
|
|
|
08-19-2009, 01:42 PM
|
#9
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,590
|
Sorry , I wasn't that alert.
It is a 'vicious circle'.
The package 'epel-release' is in ...... the epel.repo.
.....
Last edited by knudfl; 08-20-2009 at 03:51 AM.
|
|
|
|
08-19-2009, 02:04 PM
|
#10
|
|
Member
Registered: May 2009
Posts: 72
Rep:
|
well to install epel-release
Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
to install ruby etc
Code:
yum install ruby-irb ruby-libs rubygems ruby ruby-rdoc
Good luck
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:09 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|