Forum: Ruby on Rails Rails using Ruby that ships with RHEL 4

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Joe Van D. (Guest)
on 2006-04-25 22:43
(Received via mailing list)
Hi,

RHEL 4 ships with Ruby 1.8.1.  I take it that won't work with Rails
1.1.2?

Thanks,
Joe
Jodi S. (Guest)
on 2006-04-25 22:58
(Received via mailing list)
Hey Joe, I'm up2date 'ed to the latest and running successfully with

$ ruby -v
ruby 1.8.4 (2005-12-24) [x86_64-linux]

cheers,
Jodi
Joe Van D. (Guest)
on 2006-04-25 23:20
(Received via mailing list)
Are you using RHEL 4?  I don't see ruby-1.8.4 in redhat's ftp
directory
(ftp://ftp.redhat.com/pub/redhat/linux/updates/enterprise/4AS/en/os/SRPMS/).
Blake L. (Guest)
on 2006-04-25 23:30
I have been using this on my Workstation 4 and RHEL 4.
I grabbed the Fedora Core 4 Source RPM and rebuilt it on RHEL 4.
I had to edit the SPEC file. I think I just removed X11-lib from the
dependencies. I think x11-libs package has just changed names. An xorg
thing.

One thing it depends on but is not in the dependencies was byacc.

rpm -i ruby....src.rpm
cd /usr/src/redhat/SPEC
edit ruby.spec, remove the x11-lib dependency
rpmbuild -ba ruby.spec

You might have to try it a number of time to get all the dependencies.

Blake
Jodi S. (Guest)
on 2006-04-25 23:45
(Received via mailing list)
RHEL 4 - Yes. Apologies, cause I thought I used up2date, but I
stuffed away this bookmark.

http://fatpenguinblog.com/?p=112

You'll note it installs 1.8.3 - I used the same steps for 1.8.4

cheers,
J
Craig W. (Guest)
on 2006-04-26 05:41
(Received via mailing list)
On Tue, 2006-04-25 at 12:19 -0700, Joe Van D. wrote:
> > Jodi
> >
> > On 25-Apr-06, at 2:42 PM, Joe Van D. wrote:
> >
> > > Hi,
> > >
> > > RHEL 4 ships with Ruby 1.8.1.  I take it that won't work with Rails
> > > 1.1.2?
-----
http://dev.centos.org/centos/4/testing/

there you can find SRPMS that will work with RHEL or pre-built binaries
for any 'channel' including some that aren't channels on RHEL...for
example, for i386

http://dev.centos.org/centos/4/testing/i386/RPMS/

Craig
This topic is locked and can not be replied to.