Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-24-2007, 02:36 PM   #1
LQ Newbie
Registered: Nov 2001
Location: Atlanta GA metro
Distribution: CentOS 5
Posts: 3

Rep: Reputation: 0
Trying to install Ruby gems with setup.rb - how to make it run

I am setting up my 1st linux box.

Ruby 1.8.5 is installed and I can get version from command line.

Downloading Gems. There is a file setup.rb that is to be run to install gems.

I have tried several things and cannot get it to run.

What to do ???
Old 12-24-2007, 02:40 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
First, make sure it's executable. If it isn't, make it so with: chmod +x setup.rb.

Then, ./setub.rb to run it.
Old 12-24-2007, 02:49 PM   #3
LQ Newbie
Registered: Nov 2001
Location: Atlanta GA metro
Distribution: CentOS 5
Posts: 3

Original Poster
Rep: Reputation: 0
OK, it executed but got this....

line 272: syntax error: unexpected end of file

272 is past the last line of code....

Any Ideas would be appreciated...

Learning fast...



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
LXer: Gems aims to make large-scale Gentoo Linux management easier LXer Syndicated Linux News 0 08-03-2006 05:21 PM
How to install Mplayer, Xfree86, and whatever else is needed to make them run Superganja23 Linux - Newbie 2 09-19-2004 10:12 PM
Why wont my KDE 3.2 FC2 setup run make commands w/KDE 1.x packages? rusty_slacker Linux - Newbie 1 09-19-2004 06:40 PM
How to run setup after install? SappySE107 Slackware 8 11-14-2003 07:17 AM
how do i run setup after an install fwh Slackware 4 08-04-2003 08:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 PM.

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