The gem requirements are as such:
require 'mime/types'
require 'json'
The json gem is a C-Extension gem, *BUT* you can install the json-pure
gem which is a drop in replacement (written in pure Ruby)...
Jake Good
http://api.drop.io
On Jan 13, 2009, at 4:03 PM, klauer wrote:
> I noticed that I could not install the dropio ruby gem using JRuby.
> Is this because it uses C extensions that won't work on JRuby? If so,
> are there any techincal reasons that we couldn't have a pure Ruby gem
> as opposed to CRuby?
> I'm no expert in gem development, but I did just read that the FFI gem
> (http://kenai.com/projects/ruby-ffi) can help with preventing cross-
> implementation issues and maintaining multiple gems (JRuby and CRuby
> versions).
> Or, perhaps I'm just slow and haven't figured out how to install the
> dropio gem on JRuby. Has anyone else had trouble with this?