[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: JRuby's Ruby interpreter only

Charles O Nutter

8/29/2006 11:34:00 PM

Roy Ben hayun wrote:
> Hi,
> I am interested in JRuby's Ruby interpreter only, without all the Java
> binding support.
> Is it possible to download it (sources or binary) from somewhere?
> Is there a way to do it quickly on my own?
>
> Thanks!

There's not really any way to use JRuby without Java support, because
JRuby itself is written in Java. There are also a few core libraries
implemented using Java support. A JRuby without Java binding support
would be a bit like C Ruby without extension or Kernel#syscall support.

You could, however, take a JRuby distribution and trim out everything
you don't need. There's probably a lot you could remove and still have a
functioning interpreter. I'm not sure at what point you'd break
something you need, however.

--
Posted via http://www.ruby-....

6 Answers

Roy Ben hayun

8/31/2006 8:53:00 AM

0

Hi Charles,
Trimming out things looked like a long process so in that case, I wanted
to manually build the C interpreter on my own but could not succeed in
that.
(I tried with MSVC but quite naively, to be honest)
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/...
I found a few sentences that didnt mean anything to me.

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





--
Posted via http://www.ruby-....

Jano Svitok

8/31/2006 9:00:00 AM

0

On 8/31/06, Roy Ben hayun <roybh2002@yahoo.co.uk> wrote:
> Hi Charles,
> Trimming out things looked like a long process so in that case, I wanted
> to manually build the C interpreter on my own but could not succeed in
> that.
> (I tried with MSVC but quite naively, to be honest)
> 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/...
> I found a few sentences that didnt mean anything to me.
>
> Any idea, instructions, link etc would be very much appreciated.

Try downloading source of the one-click installer [1], follow the docs.

[1] rubyforge.org/projects/rubyinstaller

Roy Ben hayun

8/31/2006 10:15:00 AM

0

Hi Jan,
I already installed Ruby on my PC and happily played with it.
However, I would like to build the interpreter myself and that is what I
could find how to do.
Any ideas?

--
Posted via http://www.ruby-....

Roy Ben hayun

8/31/2006 10:17:00 AM

0

I posted a new question: "Building Ruby 1.8.4 interpreter for Windows"
at
http://www.ruby-...topic...


--
Posted via http://www.ruby-....

Austin Ziegler

8/31/2006 12:06:00 PM

0

On 8/31/06, Roy Ben hayun <roybh2002@yahoo.co.uk> wrote:
> I posted a new question: "Building Ruby 1.8.4 interpreter for Windows"
> at
> http://www.ruby-forum.com/topic...

For which most people would recommend against at this point because of
the unstable and incompatible nature of various compilers around the
'net.

-austin
--
Austin Ziegler * halostatue@gmail.com * http://www.halo...
* austin@halostatue.ca * http://www.halo...feed/
* austin@zieglers.ca

Curt Hibbs

8/31/2006 7:02:00 PM

0

On 8/31/06, Roy Ben hayun <roybh2002@yahoo.co.uk> wrote:
> Hi Jan,
> I already installed Ruby on my PC and happily played with it.
> However, I would like to build the interpreter myself and that is what I
> could find how to do.
> Any ideas?

If you want to build it yourself, just make sure you are using MSVC
6.0, SP5 and follow the readme instructions in the "win32"
subdirectory of the ruby source distribution, and it should go pretty
smoothly.

Curt