From: Julian Leviston Date: 2013-03-29T10:06:46+09:00 Subject: Re: Ruby 2.0 bytecode export / import Why don't you use jRuby and set the warbler to compile? Julian On 29/03/2013, at 4:52 AM, Andras Horvath wrote: > Hi Everyone! > > 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. > > I read about the bytecode export / import support in Ruby 2.0 here: > > http://www.rubyinside.com/ruby-2-0-implementation-work-begins-what-is-ruby-2-0-and-whats-new-5515.html > > But I couldn't figure out how to generate bytecode from my source, and > some search brought up the following issue: > > http://stackoverflow.com/questions/14398964/ruby-2-0-bytecode-export-import > > Does anyone have any information when the 2.0 branch will contain full > bytecode support? Or what I can expect on short term? > > 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. > > Any recommendation is greatly appreciated! > > Thanks. > > -- > Posted via http://www.ruby-forum.com/. >