Sorry it took me a week to release the JRuby version. I was out sick
most of the week.
Thanks a million, Ola Bini, for implementing the Java code!
Give it a go:
Ruby:
gem install RedCloth
JRuby:
jgem install RedCloth
Let me know how it goes for you.
Jason
on 2008-10-31 22:08
on 2008-11-03 06:06
>Let me know how it goes for you. I have trunk jruby installed and when I tried to install RedCloth 4.1.0 the install process tried to build the C libraries: I used the command: 'jruby -S gem install RedCloth' to install RedCloth, this is the same command as: 'jgem install RedCloth'. $ jruby -S gem install RedCloth JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL Building native extensions. This could take a while... /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/mkmf.rb:7: JRuby does not support native extensions. Check wiki.jruby.org for alternatives. (NotImplementedError) from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/1.8/mkmf.rb:1:in `require' from extconf.rb:1 ERROR: Error installing RedCloth: ERROR: Failed to build gem native extension. /Users/stephen/dev/ruby/src/jruby.git/bin/jruby extconf.rb install RedCloth Gem files will remain installed in /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8/gems/RedCloth-4.1.0 for inspection. Results logged to /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8/gems/RedCloth-4.1.0/ext/redcloth_scan/gem_make.out The rubygems version is 1.3.1: $ jruby -S gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.1 - RUBY VERSION: 1.8.6 (2008-11-02 patchlevel 114) [java] - INSTALLATION DIRECTORY: /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /Users/stephen/dev/ruby/src/jruby.git/bin/jruby - EXECUTABLE DIRECTORY: /Users/stephen/dev/ruby/src/jruby.git/bin - RUBYGEMS PLATFORMS: - ruby - universal-java-1.5 - GEM PATHS: - /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8 - /Users/stephen/.gem/jruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - "install" => "--env-shebang" - "update" => "--env-shebang" - :sources => ["http://gems.rubyforge.org", "http://gems.github.com/", "http://gems.github.com"] - REMOTE SOURCES: - http://gems.rubyforge.org - http://gems.github.com/ - http://gems.github.com
on 2008-11-15 09:37
At 1:59 PM -0500 11/3/08, Jason Garber wrote:
>Yeah, you're right. I'm looking into it.
fyi: this works to install the gem into an existing jruby gem
repository:
git clone git://github.com/jgarber/redcloth.git
cd redcloth
jruby -S rake pkg
jruby -S gem install pkg/RedCloth-4.1.0-java.gem
on 2008-11-15 09:58
I fixed the jruby gem two weeks ago and the win32 gem last week but forgot to reply and let you know! They should both work from RubyForge now, but if not, let me know.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.