X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_JR
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4DBEDE9D.8020900@cygwin.com>
Date: Mon, 02 May 2011 12:41:01 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.10 ThunderBrowse/3.3.5
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Make on Cygwin Changing Ruby to Jruby executable
References: <BANLkTi=XeDPoqSo4v=-4aQp5gTL=MWeoWw@mail.gmail.com>
In-Reply-To: <BANLkTi=XeDPoqSo4v=-4aQp5gTL=MWeoWw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 5/2/2011 8:38 AM, Sayth Renshaw wrote:
> I am trying to use compile with emacs on windows7. Cygwin is being
> called as its my make environment.
>
> Cygwin seems to be calling ruby.exe judging by the output pasted
> below, what I want to know is how do i update it to be jruby?
>
> My path for jruby is set as.
> C:\jruby-1.6.1\bin
>
> This the output.
>
> -*- mode: compilation; default-directory: "c:/MyRuby/" -*-
> Compilation started at Mon May 02 22:30:48
>
> C:/cygwin/bin\ruby.exe -w c:/MyRuby/anothertest.rb

Presumably jruby in not in your path or at least not before the path you have
to Cygwin tools.  Setting up your path in this case might help.  Otherwise,
I'd say you need to look at the makefile you have to figure out what would be
the best way to get it to use jruby over Cygwin's ruby.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

