Why don't you use jRuby and set the warbler to compile?

Julian

On 29/03/2013, at 4:52 AM, Andras Horvath <lists / ruby-forum.com> wrote:

> Hi Everyone!
>=20
> I'm looking for a solution to be able to deploy a Ruby script of mine =
on
> a foreign server without giving out all of my original source code.
> Instead I'd be happy to be able to generate bytecode from my source =
and
> install that one.
>=20
> I read about the bytecode export / import support in Ruby 2.0 here:
>=20
> =
http://www.rubyinside.com/ruby-2-0-implementation-work-begins-what-is-ruby=
-2-0-and-whats-new-5515.html
>=20
> But I couldn't figure out how to generate bytecode from my source, and
> some search brought up the following issue:
>=20
> =
http://stackoverflow.com/questions/14398964/ruby-2-0-bytecode-export-impor=
t
>=20
> Does anyone have any information when the 2.0 branch will contain full
> bytecode support? Or what I can expect on short term?
>=20
> Also, I can generate bytecode with JRuby, but since I'm using native
> libs in my code (ruby-mysql), it doesn't help currently. The code is
> also tested so I wouldn't go into any modification. So other solution =
is
> welcome too.
>=20
> Any recommendation is greatly appreciated!
>=20
> Thanks.
>=20
> --=20
> Posted via http://www.ruby-forum.com/.
>=20