# Irvars.bat

**URL:** <https://www.ruby-forum.com/t/irvars-bat/139670>\
**Category:** IronRuby\
**Created:** [June 5, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/irvars-bat/139670 "2008-06-05T22:31:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 5, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/irvars-bat/139670/1 "2008-06-05T22:31:01Z")

</div>

Any problems with this file? It’s what I have so far as the batch file  
for the SVN vars.

jd

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 5, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/irvars-bat/139670/2 "2008-06-05T22:38:07Z")

</div>

Looks good, it does look like PROGRAM\_FILES\_64 is never actually used…

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 5, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/irvars-bat/139670/3 "2008-06-05T22:45:18Z")

</div>

Fixed.

So this still leaves the problem of how to manage it so it doesn’t have  
version conflicts. We could make a irvars.bat.temp in the repo, add  
irvars.bat to the .svnignore and have people fill out the Ruby path in  
their personal copy of irvars.bat. But I’m not wild about that one.

Any other ideas?

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Michael  
Letterle  
Sent: Thursday, June 05, 2008 1:37 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

Looks good, it does look like PROGRAM\_FILES\_64 is never actually used…  
On Thu, Jun 5, 2008 at 4:29 PM, Jim D.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

Any problems with this file? It’s what I have so far as the batch file  
for the SVN vars.

jd

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 5, 2008, 10:49pm UTC](https://www.ruby-forum.com/t/irvars-bat/139670/4 "2008-06-05T22:49:28Z")

</div>

Make it calculate the path based on the path where irvars.bat lives- put  
it in a known location and you should be able to figure out everything  
else modulo MRI lib install path based on that.

In the future we’ll start shipping the MRI standard pure ruby libs along  
with IronRuby.

-John

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Jim D.  
Sent: Thursday, June 05, 2008 4:45 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

Fixed.

So this still leaves the problem of how to manage it so it doesn’t have  
version conflicts. We could make a irvars.bat.temp in the repo, add  
irvars.bat to the .svnignore and have people fill out the Ruby path in  
their personal copy of irvars.bat. But I’m not wild about that one.

Any other ideas?

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Michael  
Letterle  
Sent: Thursday, June 05, 2008 1:37 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

Looks good, it does look like PROGRAM\_FILES\_64 is never actually used…  
On Thu, Jun 5, 2008 at 4:29 PM, Jim D.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

Any problems with this file? It’s what I have so far as the batch file  
for the SVN vars.

jd

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 5, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/irvars-bat/139670/5 "2008-06-05T22:56:06Z")

</div>

So leave the CRuby libs portion alone for now, and just get it to  
identify a root path. That I can do.

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of John L.  
(IRONRUBY)  
Sent: Thursday, June 05, 2008 1:49 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

Make it calculate the path based on the path where irvars.bat lives- put  
it in a known location and you should be able to figure out everything  
else modulo MRI lib install path based on that.

In the future we’ll start shipping the MRI standard pure ruby libs along  
with IronRuby.

-John

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Jim D.  
Sent: Thursday, June 05, 2008 4:45 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

Fixed.

So this still leaves the problem of how to manage it so it doesn’t have  
version conflicts. We could make a irvars.bat.temp in the repo, add  
irvars.bat to the .svnignore and have people fill out the Ruby path in  
their personal copy of irvars.bat. But I’m not wild about that one.

Any other ideas?

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Michael  
Letterle  
Sent: Thursday, June 05, 2008 1:37 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

Looks good, it does look like PROGRAM\_FILES\_64 is never actually used…  
On Thu, Jun 5, 2008 at 4:29 PM, Jim D.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

Any problems with this file? It’s what I have so far as the batch file  
for the SVN vars.

jd

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 6, 2008, 5:39am UTC](https://www.ruby-forum.com/t/irvars-bat/139670/6 "2008-06-06T05:39:54Z")

</div>

Hang on for a bit, Seo - we’ll push out a release next week that fixes  
all of the core problems that are leading to this behavior that  
everyone’s seeing.

Thanks & sorry all for the problems with the SVN release. Things have  
been a bit hectic as of late 🙂

-John

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 6, 2008, 6:14am UTC](https://www.ruby-forum.com/t/irvars-bat/139670/7 "2008-06-06T06:14:27Z")

</div>

I can write one of those too, I was thinking about the Windows/DOS side  
since people were having problems there 😉

I can do a Powershell one too 😉

JD

* * *

From: removed\_email\_address@domain.invalid  
[removed\_email\_address@domain.invalid] On Behalf Of Sanghyeon S.  
[removed\_email\_address@domain.invalid]  
Sent: Thursday, June 05, 2008 6:02 PM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] irvars.bat

2008/6/6 Jim D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Any problems with this file? It’s what I have so far as the batch file for  
> the SVN vars.

Would you want a shell script version of this file, instead of batch  
file? (As everybody knows shell script is superior to batch files. 🙂

–  
Seo S.

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [June 6, 2008, 3:03am UTC](https://www.ruby-forum.com/t/irvars-bat/139670/8 "2008-06-06T03:03:03Z")

</div>

2008/6/6 Jim D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Any problems with this file? It’s what I have so far as the batch file for  
> the SVN vars.

Would you want a shell script version of this file, instead of batch  
file? (As everybody knows shell script is superior to batch files. 🙂
