LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-25-2008, 02:41 PM   #1
*CLI>
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Rep: Reputation: 0
error when emerging rubygems


I have successfully emerged ruby. When emerging rubygems I get an error:


>>> Compiling source in /var/tmp/portage/dev-ruby/rubygems-0.9.4/work/rubygems-0.9.4 ...
/usr/bin/ruby: no such file to load -- auto_gem (LoadError)



* ERROR: dev-ruby/rubygems-0.9.4 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* rubygems-0.9.4.ebuild, line 38: Called die

While searching for fix, I saw a thread that had me prepend rubyopt="" (I.e. rubyopt="" emerge rubygems).


This didnt help.

Does anyone have any suggestions?
 
Old 03-25-2008, 02:48 PM   #2
*CLI>
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
RUBYOPT="" emerge -av rubygems works (silly me, musta been the lowercase that got me)
 
Old 03-25-2008, 03:16 PM   #3
*CLI>
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
So what is wrong with carrying on a conversation with myself?

I am running into a problem with running a ruby script that would query a mysql db.

Error: `require': no such file to load -- mysql (LoadError)

in my script I have the following:

require 'mysql'

Should I post this somewhere else, or is this thread ok for this question?
 
  


Reply



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
Modpost Error when Emerging x11-drm nisgar2k Linux - Software 4 01-21-2007 05:27 AM
error emerging x11-drm miha Linux - Laptop and Netbook 2 07-18-2006 01:56 AM
LXer: RubyGems LXer Syndicated Linux News 0 05-28-2006 05:03 AM
emerging kdebase error LuckyABA Linux - Newbie 4 01-21-2005 12:01 AM
Gentoo - Error in emerging kdelibs-3.2.1 Rounan Linux - Distributions 6 11-05-2004 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:35 PM.

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
Open Source Consulting | Domain Registration