Building Ruby 1.8.4 interpreter for Windows

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
I found a few sentences that didnt mean anything to me.

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

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

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?

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

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 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

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 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)

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