From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 1AD4A1F712 for ; Tue, 13 Nov 2012 00:56:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B39EB26304B; Tue, 13 Nov 2012 00:56:18 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 7FD55263048 for ; Tue, 13 Nov 2012 00:56:08 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 555E01F70F; Tue, 13 Nov 2012 00:56:07 +0000 (UTC) Date: Tue, 13 Nov 2012 00:56:07 +0000 From: Eric Wong To: unicorn list Subject: Re: Testing Unicorn on Rubinius Message-ID: <20121113005607.GA1237@dcvr.yhbt.net> References: <20121113003404.GA28890@sm-mike-thinkpad> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121113003404.GA28890@sm-mike-thinkpad> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org mike 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