From stephen.bannasch at deanbrook.org Sun Nov 2 01:31:02 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Sun, 2 Nov 2008 01:31:02 -0500 Subject: RedCloth 4.1.0 released with JRuby support In-Reply-To: References: Message-ID: >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. 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 From jg at jasongarber.com Mon Nov 3 13:59:16 2008 From: jg at jasongarber.com (Jason Garber) Date: Mon, 3 Nov 2008 13:59:16 -0500 Subject: RedCloth 4.1.0 released with JRuby support In-Reply-To: References: Message-ID: <240D9A2A-275E-4EE1-9FD3-8E1172C5FABB@jasongarber.com> Yeah, you're right. I'm looking into it. On Nov 2, 2008, at 1:31 AM, Stephen Bannasch wrote: >> 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. > > 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 > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From gerald at vanbeta.com Thu Nov 6 14:38:42 2008 From: gerald at vanbeta.com (Gerald Bauer) Date: Thu, 6 Nov 2008 11:38:42 -0800 Subject: redcloth executable removed from gem? Message-ID: <1f058eab0811061138h3acb0328m952e7be664e3ceff@mail.gmail.com> Hello, I have the RedCloth 4.x gem installed on a new machine. I used to use the redcloth command line tool/executable ocassionally. Can anyone clarify if it's still part of the RedCloth 4.x gem series? Thanks. PS: I checked the sources. And the executable source resides in bin [1]. However, checking the Rakefile that generates the gem package I can't find any spec.executables = [ 'redcloth' ] entry or similar [2]. [1] http://github.com/jgarber/redcloth/tree/master/bin/redcloth [2] http://github.com/jgarber/redcloth/tree/master/Rakefile -- Gerald Bauer - Internet Professional - http://geraldbauer.ca From lists at ruby-forum.com Fri Nov 7 05:06:49 2008 From: lists at ruby-forum.com (Stuart Clarke) Date: Fri, 7 Nov 2008 11:06:49 +0100 Subject: Redcloth documentation and examples Message-ID: Does anyone no where to find examples of redcloth use in ruby? -- Posted via http://www.ruby-forum.com/. From justincollins at ucla.edu Fri Nov 7 05:31:58 2008 From: justincollins at ucla.edu (Justin Collins) Date: Fri, 07 Nov 2008 02:31:58 -0800 Subject: Redcloth documentation and examples In-Reply-To: References: Message-ID: <4914191E.1000102@ucla.edu> Stuart Clarke wrote: > Does anyone no where to find examples of redcloth use in ruby? > There isn't much to it beyond: RedCloth.new("your textile text").to_html Is there something specific you are trying to accomplish? -Justin From jg at jasongarber.com Mon Nov 10 16:21:47 2008 From: jg at jasongarber.com (Jason Garber) Date: Mon, 10 Nov 2008 16:21:47 -0500 Subject: redcloth executable removed from gem? In-Reply-To: <1f058eab0811061138h3acb0328m952e7be664e3ceff@mail.gmail.com> References: <1f058eab0811061138h3acb0328m952e7be664e3ceff@mail.gmail.com> Message-ID: <6EC1DF7F-18B6-4CD7-B786-C369DFEB02FB@jasongarber.com> It should still be there. The Rakefile requires echoe, which takes care of specifying the executables. ~/Documents/redcloth(master) $ gem specification pkg/ RedCloth-4.1.0.gem | grep -A1 executables executables: - redcloth On Nov 6, 2008, at 2:38 PM, Gerald Bauer wrote: > Hello, > > I have the RedCloth 4.x gem installed on a new machine. I used to > use the redcloth command line tool/executable ocassionally. Can anyone > clarify if it's still part of the RedCloth 4.x gem series? Thanks. > > PS: I checked the sources. And the executable source resides in bin > [1]. However, checking the Rakefile that generates the gem package I > can't find any spec.executables = [ 'redcloth' ] entry or similar [2]. > > [1] http://github.com/jgarber/redcloth/tree/master/bin/redcloth > [2] http://github.com/jgarber/redcloth/tree/master/Rakefile > > -- > Gerald Bauer - Internet Professional - http://geraldbauer.ca > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From gerald at vanbeta.com Mon Nov 10 20:01:21 2008 From: gerald at vanbeta.com (Gerald Bauer) Date: Mon, 10 Nov 2008 17:01:21 -0800 Subject: redcloth executable removed from gem? In-Reply-To: <6EC1DF7F-18B6-4CD7-B786-C369DFEB02FB@jasongarber.com> References: <1f058eab0811061138h3acb0328m952e7be664e3ceff@mail.gmail.com> <6EC1DF7F-18B6-4CD7-B786-C369DFEB02FB@jasongarber.com> Message-ID: <1f058eab0811101701u12fb98e5kd5cd11c6dd049973@mail.gmail.com> Hello, > It should still be there. The Rakefile requires echoe, which takes care of > specifying the executables. > > ~/Documents/redcloth(master) $ gem specification pkg/RedCloth-4.1.0.gem | > grep -A1 executables > executables: > - redcloth Thanks for clarifying and thanks for the gem spec tip to check up on the spec used for the installation. I installed the latest version, that is, 4.1.0 and the executable is now included again. It was missing in 4.0.3 (e.g. the spec says: executables: [] ). Thanks again for the clarification. Cheers. -- Gerald Bauer - Internet Professional - http://geraldbauer.ca From stephen.bannasch at deanbrook.org Sat Nov 15 03:22:21 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Sat, 15 Nov 2008 03:22:21 -0500 Subject: RedCloth 4.1.0 released with JRuby support In-Reply-To: <240D9A2A-275E-4EE1-9FD3-8E1172C5FABB@jasongarber.com> References: <240D9A2A-275E-4EE1-9FD3-8E1172C5FABB@jasongarber.com> Message-ID: 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 From jg at jasongarber.com Sat Nov 15 03:56:59 2008 From: jg at jasongarber.com (Jason Garber) Date: Sat, 15 Nov 2008 03:56:59 -0500 Subject: RedCloth 4.1.0 released with JRuby support In-Reply-To: References: Message-ID: <85ADF577-1380-4C5F-B942-421F194DE0D7@jasongarber.com> 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. On Nov 2, 2008, at 1:31 AM, Stephen Bannasch wrote: >> 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. > > 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 > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From jg at jasongarber.com Wed Nov 19 11:34:40 2008 From: jg at jasongarber.com (Jason Garber) Date: Wed, 19 Nov 2008 11:34:40 -0500 Subject: RedCloth 4.1.1 released Message-ID: This release fixes problems with the echoe development dependency, requiring RedCloth using CamelCase, and incorrect platform labels on the win32 and JRuby gems. All these were the result of switching to echoe (like hoe, but it doesn't make itself a runtime dependency) to do the cross-platform compilation and gem packaging. So, if you had gem, platform, or requiring problems with 4.1.0, try this version. Sorry for the growth pains! Thanks to all who helped identify the problems. Jason From davidsouth at gmail.com Wed Nov 19 11:39:50 2008 From: davidsouth at gmail.com (Dave South) Date: Wed, 19 Nov 2008 09:39:50 -0700 Subject: RedCloth 4.1.1 released In-Reply-To: References: Message-ID: <3CD47D9C-821E-449D-A886-62D22504FB07@me.com> Thanks for the update. I had to manually install echoe to get this release working. Dave On Nov 19, 2008, at 9:34 AM, Jason Garber wrote: > This release fixes problems with the echoe development dependency, > requiring RedCloth using CamelCase, and incorrect platform labels on > the win32 and JRuby gems. All these were the result of switching to > echoe (like hoe, but it doesn't make itself a runtime dependency) to > do the cross-platform compilation and gem packaging. > > So, if you had gem, platform, or requiring problems with 4.1.0, try > this version. > > Sorry for the growth pains! Thanks to all who helped identify the > problems. > > Jason > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From stephen.bannasch at deanbrook.org Wed Nov 19 12:10:47 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Wed, 19 Nov 2008 12:10:47 -0500 Subject: RedCloth 4.1.1 released In-Reply-To: References: Message-ID: >This release fixes problems with the echoe development dependency, >requiring RedCloth using CamelCase, and incorrect platform labels on >the win32 and JRuby gems. All these were the result of switching to >echoe (like hoe, but it doesn't make itself a runtime dependency) to >do the cross-platform compilation and gem packaging. > >So, if you had gem, platform, or requiring problems with 4.1.0, try >this version. > >Sorry for the growth pains! Thanks to all who helped identify the problems. > Still have problems installin gon jruby: $ jruby -S gem update RedCloth Updating installed gems Updating RedCloth 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: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. /Users/stephen/dev/ruby/src/jruby.git/bin/jruby extconf.rb update RedCloth Gem files will remain installed in /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8/gems/RedCloth-4.1.1 for inspection. Results logged to /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8/gems/RedCloth-4.1.1/ext/redcloth_scan/gem_make.out I had installed recently from source so I already had a version name 4.1.0 -- see below -- but even after deleting it and installing again I got the same error: $ jruby -S gem list RedCloth *** LOCAL GEMS *** RedCloth (4.1.0) [jruby.git (master)]$ jruby -S gem uninstall RedCloth Remove executables: redcloth in addition to the gem? [Yn] Y Removing redcloth Successfully uninstalled RedCloth-4.1.0-java [jruby.git (master)]$ jruby -S gem install RedCloth 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.1 for inspection. Results logged to /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/gems/1.8/gems/RedCloth-4.1.1/ext/redcloth_scan/gem_make.out From jg at jasongarber.com Wed Nov 19 14:17:49 2008 From: jg at jasongarber.com (Jason Garber) Date: Wed, 19 Nov 2008 14:17:49 -0500 Subject: RedCloth 4.1.1 released In-Reply-To: References: Message-ID: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> Yeah, I got that right at first too, but after coming back from lunch (and waiting for the city-wide Internet connection problem to clear up) it works fine for me. Perhaps it took a little longer for the JRuby and Win32 gems to propagate? $ jruby -S gem install RedCloth Successfully installed RedCloth-4.1.1-universal-java 1 gem installed Installing ri documentation for RedCloth-4.1.1-universal-java... Installing RDoc documentation for RedCloth-4.1.1-universal-java... Does it work for you now? BTW, if you had to install the echoe gem to get 4.1.0 working, you can uninstall it. 4.1.1 doesn't need it unless your RubyGem version < 1.2.0 or you install the gem with the --development option. On Nov 19, 2008, at 12:10 PM, Stephen Bannasch wrote: >> This release fixes problems with the echoe development dependency, >> requiring RedCloth using CamelCase, and incorrect platform labels >> on the win32 and JRuby gems. All these were the result of >> switching to echoe (like hoe, but it doesn't make itself a runtime >> dependency) to do the cross-platform compilation and gem packaging. >> >> So, if you had gem, platform, or requiring problems with 4.1.0, try >> this version. >> >> Sorry for the growth pains! Thanks to all who helped identify the >> problems. >> > > Still have problems installin gon jruby: > > $ jruby -S gem update RedCloth > Updating installed gems > Updating RedCloth > 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: While executing gem ... (Gem::Installer::ExtensionBuildError) > ERROR: Failed to build gem native extension. > > /Users/stephen/dev/ruby/src/jruby.git/bin/jruby extconf.rb update > RedCloth > > > Gem files will remain installed in /Users/stephen/dev/ruby/src/ > jruby.git/lib/ruby/gems/1.8/gems/RedCloth-4.1.1 for inspection. > Results logged to /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/ > gems/1.8/gems/RedCloth-4.1.1/ext/redcloth_scan/gem_make.out > > I had installed recently from source so I already had a version name > 4.1.0 -- see below -- but even after deleting it and installing > again I got the same error: > > $ jruby -S gem list RedCloth > > *** LOCAL GEMS *** > > RedCloth (4.1.0) > > [jruby.git (master)]$ jruby -S gem uninstall RedCloth > Remove executables: > redcloth > > in addition to the gem? [Yn] Y > Removing redcloth > Successfully uninstalled RedCloth-4.1.0-java > > [jruby.git (master)]$ jruby -S gem install RedCloth > 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.1 for inspection. > Results logged to /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/ > gems/1.8/gems/RedCloth-4.1.1/ext/redcloth_scan/gem_make.out > > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From stephen.bannasch at deanbrook.org Wed Nov 19 18:24:42 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Wed, 19 Nov 2008 18:24:42 -0500 Subject: RedCloth 4.1.1 released In-Reply-To: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> References: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> Message-ID: >Yeah, I got that right at first too, but after coming back from >lunch (and waiting for the city-wide Internet connection problem to >clear up) it works fine for me. Perhaps it took a little longer for >the JRuby and Win32 gems to propagate? > >$ jruby -S gem install RedCloth >Successfully installed RedCloth-4.1.1-universal-java >1 gem installed >Installing ri documentation for RedCloth-4.1.1-universal-java... >Installing RDoc documentation for RedCloth-4.1.1-universal-java... > >Does it work for you now? > >BTW, if you had to install the echoe gem to get 4.1.0 working, you >can uninstall it. 4.1.1 doesn't need it unless your RubyGem version >< 1.2.0 or you install the gem with the --development option. It works now, thanks! $ jruby -S gem install RedCloth Successfully installed RedCloth-4.1.1-universal-java 1 gem installed Installing ri documentation for RedCloth-4.1.1-universal-java... Installing RDoc documentation for RedCloth-4.1.1-universal-java... From lists at ruby-forum.com Thu Nov 20 17:46:46 2008 From: lists at ruby-forum.com (Jonathan Gnagy) Date: Thu, 20 Nov 2008 23:46:46 +0100 Subject: RedCloth 4.1.1 released In-Reply-To: References: <9037147B-C01A-4866-8714-97A194F9FC81@jasongarber.com> Message-ID: Stephen Bannasch wrote: >> >>Does it work for you now? >> >>BTW, if you had to install the echoe gem to get 4.1.0 working, you >>can uninstall it. 4.1.1 doesn't need it unless your RubyGem version >>< 1.2.0 or you install the gem with the --development option. > > It works now, thanks! > > $ jruby -S gem install RedCloth > Successfully installed RedCloth-4.1.1-universal-java > 1 gem installed > Installing ri documentation for RedCloth-4.1.1-universal-java... > Installing RDoc documentation for RedCloth-4.1.1-universal-java... I was able to get RedCloth 4.1.1 installed, but I seem to be having some issues. List (both numbered and unordered) have a problem... The error is VERY lengthy, so I will only include the top 15 lines or so. Here is the text I'm parsing with RedCloth: h2. A Title * List ** List subitem Here is the code used to parse the text: RedCloth.new(@page.content).to_html Here is the error I'm receiving: Exception in thread "Thread-52" java.lang.NoSuchMethodError: org.jruby.RubyArray.pop(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject; at RedclothScanService$Base.LIST_CLOSE(RedclothScanService.java:71) at RedclothScanService$Transformer.transform(RedclothScanService.java:7963) at RedclothScanService.transform(RedclothScanService.java:8307) at RedclothScanService.transform2(RedclothScanService.java:8317) at RedclothScanService.to(RedclothScanService.java:8331) at RedclothScanService$s_method_1_0$RUBYINVOKER$to.call(RedclothScanService$s_method_1_0$RUBYINVOKER$to.gen) at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391) at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101) at org.jruby.ast.BlockNode.interpret(BlockNode.java:67) at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211) at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340) It seems that definition lists work fine, as does everything else that I have tested. Here is some info about my environment: JRuby 1.1.4 (using Netbeans 6.5 RC2) Reby version 1.8.6 (java) RubyGems version 1.2.0 RedCloth 4.1.1 The same code above works fine with RedCloth 3.0.4, however, I really like the new features in 4.1.1, especially definition lists. Thanks! -- Posted via http://www.ruby-forum.com/. From stephen.bannasch at deanbrook.org Thu Nov 20 18:10:38 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Thu, 20 Nov 2008 18:10:38 -0500 Subject: running tests on gem Message-ID: Is there a way to run he tests with cjust the gem installed? I wanted to run the tests on the gem and tried: $ jruby -S gem list RedCloth *** LOCAL GEMS *** RedCloth (4.1.1) $ jruby --version jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java] [jruby.git (master)]$ jruby -S gem check -test RedCloth ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: -est [jruby.git (master)]$ jruby -S gem check --test RedCloth /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38:in `require': no such file to load -- helper (LoadError) from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/validator.rb:181:in `unit_test' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/validator.rb:181:in `each' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/validator.rb:181:in `unit_test' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/commands/check_command.rb:36:in `execute' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in `invoke' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:105:in `process_args' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in `run' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run' from /Users/stephen/dev/ruby/src/jruby.git/bin/gem:24 From jg at jasongarber.com Sat Nov 22 07:58:06 2008 From: jg at jasongarber.com (Jason Garber) Date: Sat, 22 Nov 2008 07:58:06 -0500 Subject: running tests on gem In-Reply-To: References: Message-ID: Not currently, but it seems a reasonable request. File a ticket and I'll make gem check --test RedCloth work. Jason On Nov 20, 2008, at 6:10 PM, Stephen Bannasch wrote: > Is there a way to run he tests with cjust the gem installed? > > I wanted to run the tests on the gem and tried: > > $ jruby -S gem list RedCloth > > *** LOCAL GEMS *** > > RedCloth (4.1.1) > > > $ jruby --version > jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386- > java] > > > > [jruby.git (master)]$ jruby -S gem check -test RedCloth > ERROR: While executing gem ... (OptionParser::InvalidOption) > invalid option: -est > [jruby.git (master)]$ jruby -S gem check --test RedCloth > /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/custom_require.rb:38:in `require': no such file to load -- > helper (LoadError) > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/validator.rb:181:in `unit_test' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/validator.rb:181:in `each' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/validator.rb:181:in `unit_test' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/commands/check_command.rb:36:in `execute' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/command.rb:136:in `invoke' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/command_manager.rb:105:in `process_args' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/command_manager.rb:75:in `run' > from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/ > rubygems/gem_runner.rb:39:in `run' > from /Users/stephen/dev/ruby/src/jruby.git/bin/gem:24 > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards