Great note from one of the ExecJS maintainers on GitHub: Use therubyrhino — that way ExecJS doesn’t marshal out to an external runtime and the whole IO.popen issue disappears.
Works great!
Read full article »
Coffee script compile fails in Rails 3.1.rc4 (w/ JRuby 1.6.3 –1.9)
If the title didn’t scare you off, please, continue reading:
I’ve been trying to diagnose why HTTP requests for /assets/application.js are failing with TypeError: can’t convert Hash into String. It works fine under MRI 1.9.2.
After a bout of ruby-debug-ide debugging issues (I’m looking at you Exception in DebugThread loop: undefined method `is_binary_data?’); I believe I have it narrowed … Read full article »
Debugging JRuby 1.6.3 in Aptana Studio
If you’re following the typical tutorials out there and adding ruby-debug to your Gemfile, you’ll be in for a nice surprise if you’ve also installed ruby-debug-ide and attempt to run the server in debug mode from the IDE.
Both ruby-debug and ruby-debug-ide define RemoteInterface and you’ll get a nasty little type error about a conflicting superclass. … Read full article »
rvm’d JRuby 1.6.3 + gem update –system gives undefined method `version`
I recently started using JRuby 1.6.3 via rvm and noticed that my RubyGems was only at version 1.5.1. Trying to be a good netizen by keeping my software up-to-date I executed the requisite gem update –system
Instead of fluffy bunnies and ethereal harp music, I was greeted with the horror below:
ERROR: While executing gem … … Read full article »
View Post jruby, rubygems, undefined method