From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=0.5 required=3.0 tests=FROM_LOCAL_NOVOWEL, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: russell muetzelfeldt Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby Date: Mon, 13 Dec 2010 21:52:13 +1100 Message-ID: <81A07824-4000-4E2B-A353-19C6986F526A@slofith.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292241261 15791 80.91.229.12 (13 Dec 2010 11:54:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Dec 2010 11:54:21 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Dec 13 12:54:17 2010 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Greylist: delayed 496 seconds by postgrey-1.31 at rubyforge.org; Mon, 13 Dec 2010 06:00:33 EST X-Virus-Scanned: amavisd-new at bluefish.com.au In-Reply-To: X-Mailer: Apple Mail (2.1082) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:166 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PS6yo-0006zw-ID for gclrrg-rainbows-talk@m.gmane.org; Mon, 13 Dec 2010 12:54:10 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B0C8C1858317; Mon, 13 Dec 2010 06:54:09 -0500 (EST) Received: from bfg-xserve-1.bluefish.com.au (bfg-xserve-1.bluefish.com.au [203.89.242.132]) by rubyforge.org (Postfix) with ESMTP id C0C391858317 for ; Mon, 13 Dec 2010 06:00:33 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by bfg-xserve-1.bluefish.com.au (Postfix) with ESMTP id AC381C8CEA5 for ; Mon, 13 Dec 2010 21:52:14 +1100 (EST) Received: from bfg-xserve-1.bluefish.com.au ([127.0.0.1]) by localhost (bfg-xserve-1.bluefish.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b9RyRWIEKzOf for ; Mon, 13 Dec 2010 21:52:14 +1100 (EST) Received: from alcazar.lan (251.278.dsl.mel.iprimus.net.au [58.179.181.251]) by bfg-xserve-1.bluefish.com.au (Postfix) with ESMTPSA id 6B675C8CE9A for ; Mon, 13 Dec 2010 21:52:14 +1100 (EST) On 13/12/2010, at 8:04 PM, ghazel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > I installed the rainbows gem and symlinked rainbows-2.0.1/bin/rainbows > to /usr/local/bin/rainbows > However, running rainbows gives: -bash: /usr/local/bin/rainbows: > /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby: bad > interpreter: No such file or directory > > Any ideas what I should have done instead? what platform are you on? you shouldn't have to link gem executable scripts anywhere for them to work. when I install gems, the system creates a wrapper executable in an existing bin/ directory (/usr/bin/ on OSX, /var/lib/gems/1.9.1/bin/ on Debian Squeeze) that lets you force a version for the loaded gem and then loads the original executable script without launching a new interpreter - this ignores the supposed #! line in the gem's internal bin/rainbows, which is why that file says its #! will be overwritten or wrapped. If installing rainbows didn't leave an executable script somewhere in your $PATH you might need to find where your local gem package is putting the wrappers and add that to your search path. cheers Russell ----- Russell Muetzelfeldt Mundus vult decipi, ergo decipiatur. _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying