Sha256: dbfbdc2fe22358f0fb4f4a9baf13db3ec16cfb9dec83d9739efe5e1711f48920

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 Bytes

Contents

Rinku for JRuby
==================

For now , the bundle built by jruby cannot be loaded correctly by ffi-lib,
you have to manually build it with mri ruby.

After installation,

    $ cd ~/.rvm/gems/jruby-1.7.0.RC1/gems/rinku-ffi-1.7.0/ext/rinku
    $ make realclean
    $ rvm use 1.9.3
    $ ruby extconf.rb
    $ make
    $ rvm use jruby-1.7.0.RC1

Run tests,

    $ cd ~/.rvm/gems/jruby-1.7.0.RC1/gems/rinku-ffi-1.7.0
    $ ruby text/autolink_test.rb

Try it in irb,

    $ irb
    jruby-1.7.0.RC1 :001 > require 'rinku-ffi'
     => true
    jruby-1.7.0.RC1 :002 > Rinku.auto_link("hello http://world.com")
     => "hello <a href=\"http://world.com\">http://world.com</a>"



license
-------

See original rinku license.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rinku-ffi-1.0.0 README.markdown