Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Install newjs gem with JRuby doesn't works
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Babarocap  
View profile  
 More options Aug 22 2008, 4:02 am
From: Babarocap <babar...@gmail.com>
Date: Fri, 22 Aug 2008 01:02:27 -0700 (PDT)
Local: Fri, Aug 22 2008 4:02 am
Subject: Install newjs gem with JRuby doesn't works
When I run this command :
gem install newjs
I've this error :
Building native extensions.  This could take a while...
ERROR:  Error installing newjs:
        ERROR: Failed to build gem native extension.

C:/Program Files/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/bin/jruby.bat
extconf.rb in
stall newjs
C:/Program Files/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/ruby/1.8/
mkmf.rb:7: JRu
by does not support native extensions. Check wiki.jruby.org for
alternatives. (N
otImplementedError)
        from C:/Program Files/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/
ruby/1.8/m
kmf.rb:1:in `require'
        from extconf.rb:1

Gem files will remain installed in C:/Program Files/NetBeans 6.5 Beta/
ruby2/jrub
y-1.1.3/lib/ruby/gems/1.8/gems/RedCloth-4.0.3 for inspection.
Results logged to C:/Program Files/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/
lib/ruby/
gems/1.8/gems/RedCloth-4.0.3/ext/redcloth_scan/gem_make.out


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr Nic Williams  
View profile  
 More options Aug 22 2008, 4:12 am
From: Dr Nic Williams <drnicwilli...@gmail.com>
Date: Fri, 22 Aug 2008 18:12:32 +1000
Local: Fri, Aug 22 2008 4:12 am
Subject: Re: Install newjs gem with JRuby doesn't works
What is the most recent RedCloth gem for jruby?

Redcooth isn't a core dependency and could be removed as gem dep I  
think.

Nic

On 22/08/2008, at 6:02 PM, Babarocap <babar...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babarocap  
View profile  
 More options Aug 22 2008, 4:27 am
From: Babarocap <babar...@gmail.com>
Date: Fri, 22 Aug 2008 01:27:16 -0700 (PDT)
Local: Fri, Aug 22 2008 4:27 am
Subject: Re: Install newjs gem with JRuby doesn't works
I think it's RedCloth 4.0.3 because I see it in my directory
jruby-1.1.3\lib\ruby\gems\1.8\gems\RedCloth-4.0.3 but when I do

C:\>gem search redcloth -b

*** LOCAL GEMS ***

*** REMOTE GEMS ***

RedCloth (4.0.3)

It's not in my Local Gems !?
And when I want to install it I've the same error than newjs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babarocap  
View profile  
 More options Aug 22 2008, 4:44 am
From: Babarocap <babar...@gmail.com>
Date: Fri, 22 Aug 2008 01:44:25 -0700 (PDT)
Local: Fri, Aug 22 2008 4:44 am
Subject: Re: Install newjs gem with JRuby doesn't works
Redcloth doesn't work with this script:

require 'rubygems'
require 'redcloth'

p RedCloth.new("abc foo abc").to_html

Here the error message :
C:\>jruby "C:\redcloth_test.rb"
C:/Program Files/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/ruby/
site_ruby/1.8/ruby
gems/custom_require.rb:27:in `require': no such file to load --
redcloth (LoadEr
ror)
        from C:/Program Files/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/
ruby/site_
ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from C:\redcloth_test.rb:2

Maybe a JRuby's bug ? Or a problem with my config...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Williams  
View profile  
 More options Aug 22 2008, 4:53 am
From: "Nic Williams" <drnicwilli...@gmail.com>
Date: Fri, 22 Aug 2008 18:53:10 +1000
Local: Fri, Aug 22 2008 4:53 am
Subject: Re: Install newjs gem with JRuby doesn't works

jruby requires jruby specific gems, if the gem requires installing native
extensions (e.g. C code); I guess there is no jruby version of RedCloth.

--
Dr Nic Williams
Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com
* Learn TextMate for Rails2 -
http://peepcode.com/products/textmate-for-rails-2 *

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babarocap  
View profile  
 More options Aug 22 2008, 6:34 am
From: Babarocap <babar...@gmail.com>
Date: Fri, 22 Aug 2008 03:34:39 -0700 (PDT)
Local: Fri, Aug 22 2008 6:34 am
Subject: Re: Install newjs gem with JRuby doesn't works
I've download and install manually the Windows version of Redcloth
gem
gem install c:\RedCloth-4.0.3-x86-mswin32-60.gem

Redcloth didn't seem to work...
But I can successfully install newjs !
Now I'm going to test if newjs is working correctly.

.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babarocap  
View profile  
 More options Aug 22 2008, 8:26 am
From: Babarocap <babar...@gmail.com>
Date: Fri, 22 Aug 2008 05:26:56 -0700 (PDT)
Local: Fri, Aug 22 2008 8:26 am
Subject: Re: Install newjs gem with JRuby doesn't works
I've found the solution :
The last version of RedCloth isn't compatible with JRuby but the
RedCloth 3.0.x versions are OK.

So, to install correctly newjs on JRuby you have to do :
gem uninstall RedCloth -v 4.0.3
gem install RedCloth -v 3.0.4
gem install newjs

I think you can close this topic.

And like we say in French, Merci Docteur !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nic Williams  
View profile  
 More options Aug 22 2008, 8:29 am
From: "Nic Williams" <drnicwilli...@gmail.com>
Date: Fri, 22 Aug 2008 22:29:45 +1000
Local: Fri, Aug 22 2008 8:29 am
Subject: Re: Install newjs gem with JRuby doesn't works

Ok, so I shouldn't upgrade the required version of RedCloth in the
dependencies. I think I did in newgem, not sure.
You might like to ping the new RedCloth maintainer and ask if they want to
release a jruby version. They might not know how.

--
Dr Nic Williams
Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com
* Learn TextMate for Rails2 -
http://peepcode.com/products/textmate-for-rails-2 *

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »