From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Testing Unicorn on Rubinius
Date: Tue, 13 Nov 2012 00:56:07 +0000 [thread overview]
Message-ID: <20121113005607.GA1237@dcvr.yhbt.net> (raw)
In-Reply-To: <20121113003404.GA28890@sm-mike-thinkpad>
mike <michael.p.thompson@gmail.com> wrote:
> Hey Eric,
>
> I do have the isolate gem installed. In a number of gemsets as it
> were. Here is a gem list:
>
> mike@sm-mike-thinkpad:~/workspace/rubinius_testing/unicorn-4.4.0$ gem list
>
> *** LOCAL GEMS ***
>
> bundler (1.2.1)
> isolate (3.2.2)
> rack (1.4.1)
> rake (0.9.2.2)
> rubygems-bundler (1.1.0)
> rvm (1.11.3.5)
>
> Here is a "find" for isolate running against my .rvm directory:
>
> mike@sm-mike-thinkpad:~/workspace/rubinius_testing/unicorn-4.4.0$ find /home/mike/.rvm/ -name isolate-3.2.2
> /home/mike/.rvm/gems/rbx-2.0.testing@global/doc/isolate-3.2.2
> /home/mike/.rvm/gems/rbx-2.0.testing@global/gems/isolate-3.2.2
> /home/mike/.rvm/gems/rbx-2.0.testing/doc/isolate-3.2.2
> /home/mike/.rvm/gems/rbx-2.0.testing/gems/isolate-3.2.2
> /home/mike/.rvm/gems/rbx-2.0.testing@rubinius_testing/doc/isolate-3.2.2
> /home/mike/.rvm/gems/rbx-2.0.testing@rubinius_testing/gems/isolate-3.2.2
>
> and lastly, here is the setting I have for the "RUBYLIB" variable in my local.mk:
>
> RUBYLIB=/home/mike/.rvm/gems/rbx-2.0.testing/
>
> (FYI: this is injected on line 8 of your sample local.mk that ships with the project)
I don't think you need to mess with RUBYLIB at all. I'm not sure
local.mk is necessary if you have rvm, either..., or if you're
only testing with a single installation of Ruby.
> If I run irb, I cannot require 'isolate' without requiring 'rubygems' even with it in all these places. I assume there is some kind of path / inclusion issue I am facing here and I don't quite know how to go about getting around it. Perhaps I have RUBYLIB set wrong, or I need to try to approach this completely differently and not from rvm at all.
I've never used rvm for development, either, I just set PATH
appropriately.
Maybe rvm is doing something funky with the shebang in
script/isolate_for_tests ?
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
next prev parent reply other threads:[~2012-11-13 0:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 0:34 Testing Unicorn on Rubinius mike
2012-11-13 0:56 ` Eric Wong [this message]
2012-11-13 1:05 ` Eric Wong
2012-11-13 19:43 ` mike
2012-11-13 19:44 ` mike
2012-11-13 20:27 ` Eric Wong
-- strict thread matches above, loose matches on Subject: below --
2012-11-12 23:37 mike
2012-11-13 0:18 ` Eric Wong
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/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121113005607.GA1237@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=mongrel-unicorn@rubyforge.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/unicorn.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).