LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 12-24-2007, 01:36 PM   #1
Bartee
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, 01:40 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,743

Rep: Reputation: 299Reputation: 299Reputation: 299
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, 01:49 PM   #3
Bartee
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...
 
  


Reply

Tags
ruby


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 04:21 PM
How to install Mplayer, Xfree86, and whatever else is needed to make them run Superganja23 Linux - Newbie 2 09-19-2004 09: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 05:40 PM
How to run setup after install? SappySE107 Slackware 8 11-14-2003 06:17 AM
how do i run setup after an install fwh Slackware 4 08-04-2003 07:53 AM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
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