delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/02/12:41:23

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Make on Cygwin Changing Ruby to Jruby executable
References: <BANLkTi=XeDPoqSo4v=-4aQp5gTL=MWeoWw AT mail DOT gmail DOT com>
In-Reply-To: <BANLkTi=XeDPoqSo4v=-4aQp5gTL=MWeoWw@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019