# Building Ruby 1.8.4 interpreter for Windows

**URL:** <https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960>\
**Category:** Ruby\
**Created:** [August 30, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960 "2006-08-30T17:27:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 30, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960/1 "2006-08-30T17:27:30Z")

</div>

Hi,  
I downloaded Ruby Version 1.8.4 and used it happily :-\>

I would like to manually build the interpreter on my own but could not  
succed in that. Atleast not out-of-the-box style.  
I probably should start from building the whole thing and that is ok as  
I need to start with something.

In  
[http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby/index.html](http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby/index.html)  
I found a few sentences that didnt mean anything to me.

Any idea, instructions, link etc would be very much appreciated.

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 3:34pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960/2 "2006-08-31T15:34:29Z")

</div>

Hi,  
I managed to pull the trick:  
The \lib\ folder is incomplete in the download of Ruby 1.8.5 therefor  
need to resort to some simple hacks.

ex.)  
ruby source directory: F:\temp\ruby\r3\ruby-1.8.5  
build directory: F:\temp\ruby\bi3  
install directory: F:\temp\ruby\bi3

```
cd D:\build\ruby
C:\src\ruby\win32\configure
nmake
nmake test
nmake DESTDIR=C:/usr/local install

```

copy version.h from Ruby 1.8.4  
F:\temp\ruby\bi3\bin\>F:\temp\ruby\r3\ruby-1.8.5\win32\configure.bat  
F:\temp\ruby\bi3\bin\>NMAKE  
F:\temp\ruby\bi3\bin\>NMAKE test  
F:\temp\ruby\bi3\bin\>nmake DESTDIR=F:\temp\ruby\bi3 install  
Copy \lib\ folder from Ruby 1.8.4

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960/3 "2006-08-31T15:41:09Z")

</div>

HOWEVER!  
this is building the whole thing and not just the interpreter.  
Any ideas on how to separate the interpreter from all the windows/extra  
stuff?

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 5:54pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960/4 "2006-08-31T17:54:28Z")

</div>

Hi,

At Thu, 31 Aug 2006 22:35:28 +0900,  
Roy Ben hayun wrote in [ruby-talk:211735]:

> I managed to pull the trick:  
> The \lib\ folder is incomplete in the download of Ruby 1.8.5 therefor  
> need to resort to some simple hacks.

Then you failed to download it.

> this is building the whole thing and not just the interpreter.  
> Any ideas on how to separate the interpreter from all the windows/extra  
> stuff?

nmake ruby

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [October 18, 2006, 3:27pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960/5 "2006-10-18T15:27:52Z")

</div>

I am a new commer to this site and I am learning Ruby for my Ph.D.  
thesis to write a plug-in for SketchUp. Since I am architect, I am  
unfamiliar with software terminology.

I have also problems with Ruby Interpreter, I have downloaded Ruby  
[Download Ruby](http://www.ruby-lang.org/en/downloads/) from Ruby 1.8.5 One-Click  
Installer  
And now how is possible to get the Interpreter What should I do? Can you  
help me?  
How can I manage with those some simple hacks???

Yas

Roy Ben hayun wrote:

> Hi,  
> I managed to pull the trick:  
> The \lib\ folder is incomplete in the download of Ruby 1.8.5 therefor  
> need to resort to some simple hacks.
> 
> ex.)  
> ruby source directory: F:\temp\ruby\r3\ruby-1.8.5  
> build directory: F:\temp\ruby\bi3  
> install directory: F:\temp\ruby\bi3
> 
> ```
> cd D:\build\ruby
> C:\src\ruby\win32\configure
> nmake
> nmake test
> nmake DESTDIR=C:/usr/local install
> 
> ```
> 
> copy version.h from Ruby 1.8.4  
> F:\temp\ruby\bi3\bin\>F:\temp\ruby\r3\ruby-1.8.5\win32\configure.bat  
> F:\temp\ruby\bi3\bin\>NMAKE  
> F:\temp\ruby\bi3\bin\>NMAKE test  
> F:\temp\ruby\bi3\bin\>nmake DESTDIR=F:\temp\ruby\bi3 install  
> Copy \lib\ folder from Ruby 1.8.4

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [October 18, 2006, 4:05pm UTC](https://www.ruby-forum.com/t/building-ruby-1-8-4-interpreter-for-windows/66960/6 "2006-10-18T16:05:31Z")

</div>

Yasemin A. wrote:

> I am a new commer to this site and I am learning Ruby for my Ph.D.  
> thesis to write a plug-in for SketchUp. Since I am architect, I am  
> unfamiliar with software terminology.
> 
> I have also problems with Ruby Interpreter, I have downloaded Ruby  
> [Download Ruby](http://www.ruby-lang.org/en/downloads/) from Ruby 1.8.5 One-Click  
> Installer  
> And now how is possible to get the Interpreter What should I do? Can you  
> help me?  
> How can I manage with those some simple hacks???
> 
> Yas

Well, ignoring the fact that you are NOT building the interpreter,  
and that you are referring to Ruby 1.8.5, what you do next is what  
it says on the supporting website  
([http://rubyinstaller.rubyforge.org/wiki/wiki.pl?Quick\_Introduction](http://rubyinstaller.rubyforge.org/wiki/wiki.pl?Quick_Introduction))

which is -

1] To install Ruby, click on the downloads link below, choose the  
version you would like, and click on the .exe link (under the name of  
the version) to download the installer.

[You’ve done that already…]

2] Use Windows Explorer to navigate to where you saved the .exe file and  
double-click on it to run the installer.

[Ah - it is mis-named: it is really the Double-Click Installer!!]

Really - it is that simple. The installer is a Windows .exe - just run  
it the way you would any other Windows program. You only do this once,  
to install the interpreter, not every time you want to run a Ruby  
script.

Good luck

DeeJay

> Roy Ben hayun wrote:
> 
> > Hi,  
> > I managed to pull the trick:  
> > The \lib\ folder is incomplete in the download of Ruby 1.8.5 therefor  
> > need to resort to some simple hacks.
> > 
> > ex.)  
> > ruby source directory: F:\temp\ruby\r3\ruby-1.8.5  
> > build directory: F:\temp\ruby\bi3  
> > install directory: F:\temp\ruby\bi3
> > 
> > ```
> > cd D:\build\ruby
> > C:\src\ruby\win32\configure
> > nmake
> > nmake test
> > nmake DESTDIR=C:/usr/local install
> > 
> > ```
> > 
> > copy version.h from Ruby 1.8.4  
> > F:\temp\ruby\bi3\bin\>F:\temp\ruby\r3\ruby-1.8.5\win32\configure.bat  
> > F:\temp\ruby\bi3\bin\>NMAKE  
> > F:\temp\ruby\bi3\bin\>NMAKE test  
> > F:\temp\ruby\bi3\bin\>nmake DESTDIR=F:\temp\ruby\bi3 install  
> > Copy \lib\ folder from Ruby 1.8.4
