Craig Waterman | Technologist, Software Engineer | Syracuse, NY
  • Facebook
  • Twitter
  • Home
  • Portfolio
  • Contact Me

JRuby

Home» Programming » JRuby

Coffee-script and ExecJS vs. JRuby redux:

Posted on July 20, 2011 by craig in JRuby, Programming, Ruby on Rails

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 »

View Post coffee script, execjs, jruby

Coffee script compile fails in Rails 3.1.rc4 (w/ JRuby 1.6.3 –1.9)

Posted on July 20, 2011 by craig in JRuby, Programming, Ruby on Rails

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 »

View Post coffee script, execjs, jruby

Debugging JRuby 1.6.3 in Aptana Studio

Posted on July 20, 2011 by craig in JRuby, Ruby on Rails

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 »

View Post jruby, ruby debugging

rvm’d JRuby 1.6.3 + gem update –system gives undefined method `version`

Posted on July 20, 2011 by craig in JRuby, Programming

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

Random Portfolio Pieces

About Craig

I'm a seasoned developer who codes, consults, trains and more. Download my resume, or visit my portfolio to learn more.

  Craig's Resume

Twitter Feed


Follow @ckh2oman on Twitter

Categories

  • Cycling
  • Family
  • Flash/Actionscript
  • Git
  • JRuby
  • Link
  • Mac OS X
  • MongoDB
  • Movies
  • MySQL
  • Node
  • PHP
  • Portfolio
  • Programming
  • Random
  • Road to Fitness
  • Ruby on Rails
  • Science & Technology
  • Shell/Unix
  • Weight Lifting
  • WordPress

Archives

  • May 2012 (1)
  • April 2012 (1)
  • March 2012 (4)
  • February 2012 (4)
  • January 2012 (14)
  • December 2011 (4)
  • November 2011 (3)
  • October 2011 (1)
  • August 2011 (2)
  • July 2011 (13)

Obligatory Tag Cloud

.net ajax asp.net cakephp code editing coffee script coldfusion cycling dailymile dblizzy execjs family fitness flash health html/css ide jquery jruby kids lion magnolia mcrypt mini mongo monkey brain mysql os x oxrocket pdf php ruby ruby debugging rubygems rvm shell scripting silverstripe social twitter undefined method website weight weight lifting wordpress xml

(c) 2012 Craig Waterman | Technologist, Software Engineer | Syracuse, NY - Web Design by Jason Bobich