| View previous topic :: View next topic |
| Author |
Message |
babiben
Joined: 07 Apr 2009 Posts: 7
|
Posted: Fri Apr 17, 2009 3:47 pm Post subject: netbeans 6.5.1 : RubyGems >= 1.3.1 (you have 1.2.0). |
|
|
Hello, i have a problem with rails and netbeans 6.5.1. When starting my application, I obtains an error :
"Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update
--system` and try again."
I tried to apply this method http://blogs.sun.com/divas/entry/fixing_the_rails_requires_rubygems but without success!
How can i obtain a console in netbeans to execute the next commande : gem update --system ? There is a probleme with ruby and jruby... In Netbeans, i use JRuby 1.1.4 and when i execute the command, it run for ruby!
Do you have a solution ?
Thanks a lot
Bye |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Fri Apr 17, 2009 4:00 pm Post subject: netbeans 6.5.1 : RubyGems >= 1.3.1 (you have 1.2.0). |
|
|
Hi,
babiben wrote:
| Quote: | Hello, i have a problem with rails and netbeans 6.5.1. When starting my application, I obtains an error :
"Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update
--system` and try again."
I tried to apply this method http://blogs.sun.com/divas/entry/fixing_the_rails_requires_rubygems but without success!
How can i obtain a console in netbeans to execute the next commande : gem update --system ? There is a probleme with ruby and jruby... In Netbeans, i use JRuby 1.1.4 and when i execute the command, it run for ruby!
|
There is a typo in the blog entry, for JRuby you need to run 'jruby -S
...' instead of 'ruby -S ...'. So you need to run
<netbeans-install-dir>/ruby2/jruby-1.1.4/bin/jruby -S gem install
rubygems-update
and then
<netbeans-install-dir>/ruby2/jruby-1.1.4/bin/jruby -S update_rubygems
Or you might just update JRuby to 1.2.0 -- see
http://blogs.sun.com/divas/entry/installing_your_own_jruby_to for
instructions. Let us know if that doesn't help,
Erno |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Mon Apr 20, 2009 12:52 pm Post subject: netbeans 6.5.1 : RubyGems >= 1.3.1 (you have 1.2.0). |
|
|
No idea, unfortunately. I would encourage you to upgrade JRuby to 1.2.0,
so you don't have to solve the problem with RubyGems and 1.1.4 is really
a bit dated by now. Maybe I posted this link already, but here is it
again anyway:
http://blogs.sun.com/divas/entry/installing_your_own_jruby_to
Cheers,
Erno
babiben wrote:
| Quote: | I have an other probleme :
Code:
sessiont@aztek:~/netbeans/netbeans-6.5.1/ruby2/jruby-1.1.4/bin$ jruby -S update_rubygems
Installing RubyGems 1.3.2
Inconsistency detected by ld.so: dl-open.c: 623: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
|
|
|
| Back to top |
|
 |
lothia
Joined: 11 May 2009 Posts: 2
|
Posted: Mon May 11, 2009 11:22 pm Post subject: |
|
|
I apologize for bumping a 12 day old topic. However I am having major problems wit this. For some reason unknown to me I cannot add the path for jruby to work correctly. I have installed 3 versions of jruby, however my path for system has one which is
"C:\Program Files\NetBeans 6.5.1\ruby2\jruby-1.2.0\bin"
When ever I go into cmd and type jruby or jruby -S gem or anything I get
"The System cannot find the specified path". I do not know what is wrong, I have added multiple paths before and I have done all of the steps required to update it with doing the ruby -S command instead (which posted above is incorrect) however I cannot do the jruby command no matter what.
Any help would be greatly appreciated. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Tue May 12, 2009 9:59 am Post subject: netbeans 6.5.1 : RubyGems >= 1.3.1 (you have 1.2.0). |
|
|
Hi,
lothia wrote:
| Quote: | I apologize for bumping a 12 day old topic. However I am having major problems wit this. For some reason unknown to me I cannot add the path for jruby to work correctly. I have installed 3 versions of jruby, however my path for system has one which is
"C:\Program Files\NetBeans 6.5.1\ruby2\jruby-1.2.0\bin"
|
Did you specify the path with quotes as in above? If you didn't, I'm
thinking that the space in the path may cause some problems, but I'm not
on Windows now to check it. Can you try installing JRuby to a different
path w/o spaces?
Erno
| Quote: | When ever I go into cmd and type jruby or jruby -S gem or anything I get
"The System cannot find the specified path". I do not know what is wrong, I have added multiple paths before and I have done all of the steps required to update it with doing the ruby -S command instead (which posted above is incorrect) however I cannot do the jruby command no matter what.
Any help would be greatly appreciated.
|
|
|
| Back to top |
|
 |
sacrolicious
Joined: 08 Oct 2009 Posts: 1
|
Posted: Mon Oct 19, 2009 11:15 am Post subject: Re: netbeans 6.5.1 : RubyGems >= 1.3.1 (you have 1.2.0). |
|
|
| Erno Mononen wrote: | Hi,
lothia wrote:
| Quote: | I apologize for bumping a 12 day old topic. However I am having major problems wit this. For some reason unknown to me I cannot add the path for jruby to work correctly. I have installed 3 versions of jruby, however my path for system has one which is
"C:\Program Files\NetBeans 6.5.1\ruby2\jruby-1.2.0\bin"
|
Did you specify the path with quotes as in above? If you didn't, I'm
thinking that the space in the path may cause some problems, but I'm not
on Windows now to check it. Can you try installing JRuby to a different
path w/o spaces?
Erno
| Quote: | When ever I go into cmd and type jruby or jruby -S gem or anything I get
"The System cannot find the specified path". I do not know what is wrong, I have added multiple paths before and I have done all of the steps required to update it with doing the ruby -S command instead (which posted above is incorrect) however I cannot do the jruby command no matter what.
Any help would be greatly appreciated.
|
|
I'm having the same problem, Did removing the spaces from the installation path work? _________________ Simon O'Gorman |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|