LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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



Reply
 
Search this Thread
Old 07-14-2008, 09:08 AM   #1
kathmanduite
LQ Newbie
 
Registered: Sep 2007
Distribution: redhat
Posts: 6

Rep: Reputation: 0
problem installing ruby on rails


i am trying to install ruby on rail in RHEL4. I have installed ruby 1.8.6 via source. Then i installed rubygems as well via source. now when i try to install rails gem with the command

gem install rails

its giving error like
Zlib::GzipFile::Error
unexpected end of file

how should i install rails?

any help would be appreciated
thanks in advance.
 
Old 07-15-2008, 01:34 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
And you did run: ruby setup.rb when you installed rubygems?

What happens if you try: gem install rails --include-dependencies
 
Old 07-16-2008, 12:02 AM   #3
kathmanduite
LQ Newbie
 
Registered: Sep 2007
Distribution: redhat
Posts: 6

Original Poster
Rep: Reputation: 0
yes, I installed rubygems with : ruby setup.rb

I have installed zlib from http://www.zlib.net and ruby-zlib from http://raa.ruby-lang.org/project/ruby-zlib and I have re-installed ruby and rubygems as well.

This didn't help either. I am still getting same error.
 
Old 09-26-2012, 12:29 PM   #4
ashishdubey
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
Cool

Did you try Installing Rails using RVM (Ruby enVironment Manager). It supports installing many a features for Ruby, Rubygems, Rails, Trace, etc.

$ curl -L get.rvm.io | bash -s stable --rails
 
Old 09-26-2012, 10:22 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by ashishdubey View Post
Did you try Installing Rails using RVM (Ruby enVironment Manager). It supports installing many a features for Ruby, Rubygems, Rails, Trace, etc.

$ curl -L get.rvm.io | bash -s stable --rails
Did you really just sign up to unearth carcasses from days gone by?

Two posts, both to threads that were dead for over 4 years ...
 
Old 09-26-2012, 10:50 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
well this one is two( almost 3) years newer , but still RHEL4

Last edited by John VV; 09-26-2012 at 10:52 PM.
 
Old 09-27-2012, 07:59 AM   #7
Terminator3000
Member
 
Registered: Jun 2012
Distribution: Centos 6 & Fluxbox
Posts: 86

Rep: Reputation: Disabled
It is best to use RVM as in this tutorial for Centos 6
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RMagick shared libraries problem (ruby on rails setup) Roosta21 Linux - Server 4 08-18-2008 06:57 AM
PHP v Ruby/Ruby on Rails Neko_D Linux - General 4 02-09-2007 12:56 AM
Getting started with Ruby on Rails Ephracis Linux - Server 1 09-24-2006 04:40 PM
Installing ruby with rails+mysql+apache on Slackware 10.2 from source paultoytoy Slackware 1 09-08-2006 01:01 PM
LXer: Ruby on Rails LXer Syndicated Linux News 0 02-16-2006 05:16 PM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration