yarv

Which ruby interpreter are you looking forward to?

There are multiple Ruby implementations in the works right now. Which are you looking forward to and why? Do you actively use a non-MRI implementation in production? Some of the options include: Ruby MRI (original 1.8 branch) YARV (official 1.9) JRuby Rubinius IronRuby MagLev (Thanks Julian) ...

How to diagnose/trace "sendsig: useracc failed." problem in HP-UX

I am trying to compile Ruby 1.9.1-p0 on HP-UX. After a small change to ext/pty.c it compiles successfully, albeit with a lot of warning messages (about 5K). When I run the self-tests using "make test" it crashes and core-dumps with the following error: sendsig: useracc failed. 0x9fffffffbf7dae00 0x00000000005000 Pid 3044 was k...

Documentation on RubyVM::InstructionSequence?

With Ruby 1.9 the YARV-VM was merged into Ruby. So http://www.atdot.net/yarv seems to be outdated. Where can I find documentation on RubyVM::InstructionSequence? Especially on #compile_file? Where can I find an up-to-date Instruction Table like http://www.atdot.net/yarv/insnstbl.html ? ...

RVM 1.9.1 & nokogiri

Having trouble installing the nokogiri gem under rvm ruby 1.9.1. gem install nokogiri I'm getting ... /usr/include/libxml2... no libxml2 is missing. try 'port install libxml2' or 'yum install libxml2-devel' *** extconf.rb failed *** but i checked: sudo apt-get install libxml2 and i got: Reading state information... Done libxm...

Disabling Ruby 1.9.x's YARV compiler

There is a very noticeable difference in application initiation time between running my specs from the command line with ruby 1.9.x vs. 1.8.7. My application initiates much faster with ruby 1.8.7 than with ruby 1.9.1 or 1.9.2. The application initiation difference is approximately 18 seconds. It takes about 5 seconds for my app to ini...

All Ruby interpreters follow the same Ruby syntax?

Do all Ruby interpreters follow the same Ruby syntax defined in www.ruby-lang.org? MRI YARV Rubinius JRuby IronRuby Cause it is the interpreter that defines the Ruby language. Does that mean one interpreter could add a feature/syntatic sugar that other interpreters haven't? If that is the case, do all interpreters have their own API...

How to generate bytecode in Ruby 1.9?

How can I generate byetcode from Ruby 1.9?? My intent is to generate bytecode not the source code and ship it along with my application package. I am aware of the JRuby approach but I am facing certain issues there ...