Skip to content

Instantly share code, notes, and snippets.

@headius
Created July 20, 2010 19:38
Show Gist options
  • Save headius/483433 to your computer and use it in GitHub Desktop.
Save headius/483433 to your computer and use it in GitHub Desktop.
~/projects/jruby ➔ gem install yajl-ruby
Building native extensions. This could take a while...
Successfully installed yajl-ruby-0.7.7
1 gem installed
Installing ri documentation for yajl-ruby-0.7.7...
Installing RDoc documentation for yajl-ruby-0.7.7...
~/projects/jruby ➔ jruby -rubygems -e "require 'yajl'; p Yajl::Parser.parse('{\"foo\": 1145}')"
{"foo"=>1145}
@brianmario
Copy link

AWESOME

@kevintyll
Copy link

What version of jruby is this on?

@headius
Copy link
Author

headius commented Jul 20, 2010

This is on the cext branch of JRuby, under development by Tim Felgentreff as part of the Ruby Summer of Code (with lots of help from Wayne Meissner). Check out my blog post if you want to play with or help out: http://blog.headius.com/2010/07/what-jruby-c-extension-support-means-to.html

@rkh
Copy link

rkh commented Jul 20, 2010

w00t

@rubiii
Copy link

rubiii commented Jul 20, 2010

wow :)

@victusfate
Copy link

I think getting yajl working was why i swapped to ubuntu earlier this year.
go go streaming ... anywhere jruby works :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment