Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
To: Rainbows! list <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Subject: Re: /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby
Date: Mon, 13 Dec 2010 10:34:20 +0000	[thread overview]
Message-ID: <20101213103420.GA28718@dcvr.yhbt.net> (raw)
In-Reply-To: <AANLkTikfzyTV4Ymbk2vPHfq2VwYpM9f3mZuL0ep_eZ-O-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

ghazel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> Hi,
> 
> 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?

You shouldn't have had to make a symlink, if you used gems, then
RubyGems will have put a "rainbows" executable wrapper in the same
prefix as your other gems (probably same path as the "gem" command) that
loads and wraps the $GEM_HOME/gems/rainbows-2.0.1/bin/rainbows script...

In short, it works the same way as unicorn, mongrel, thin or any
other RubyGem that distributes executable scripts.

-- 
Eric Wong
_______________________________________________
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


  parent reply	other threads:[~2010-12-13 10:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13  9:04 /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby ghazel-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <AANLkTikfzyTV4Ymbk2vPHfq2VwYpM9f3mZuL0ep_eZ-O-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-13 10:34   ` Eric Wong [this message]
2010-12-13 10:52   ` /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby russell muetzelfeldt
     [not found]     ` <81A07824-4000-4E2B-A353-19C6986F526A-wWwMKTv0ClVAfugRpC6u6w@public.gmane.org>
2010-12-13 18:28       ` /this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby ghazel-Re5JQEeQqe8AvxtiuMwx3w

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/rainbows/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101213103420.GA28718@dcvr.yhbt.net \
    --to=normalperson-rmlxzr9ms24@public.gmane.org \
    --cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/rainbows.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).