| View previous topic :: View next topic |
| Author |
Message |
fa00026
Joined: 20 Feb 2009 Posts: 29
|
Posted: Fri Apr 03, 2009 9:37 pm Post subject: A beginner/ Set up Ruby |
|
|
Hi,
I have just installed NetBeans 6.5 , to use ruby on Rails, I want to use Rails 2.2 and JRuby 1.1.6. on a Windows XP machine and JDK-6u11.
I have downloaded JRUBY 1.1.6 in the Ruby2 folder in Netbeans , but when i tried to add this paltform in netbeans I get this message
c:\program files\NetBeans6.5\ruby2\jruby-1.1.6\bin\jruby.rb does not seem to be a valid Ruby interpreter
I have unistalled NetBeans 6.5 and installed NetBeans 6.5.1 (thinking it may affect something) but no use.
Please I wish anyone can help me with this as fast as posiible
Thanks |
|
| Back to top |
|
 |
Hassan Schroeder Posted via mailing list.
|
Posted: Fri Apr 03, 2009 11:07 pm Post subject: A beginner/ Set up Ruby |
|
|
On Fri, Apr 3, 2009 at 2:37 PM, fa00026 <address-removed> wrote:
| Quote: | I have downloaded JRUBY 1.1.6 in the Ruby2 folder in Netbeans , but when i tried to add this paltform in netbeans I get this message
| /
| Quote: | c:\program files\NetBeans6.5\ruby2\jruby-1.1.6\bin\jruby.rb does not seem to be a valid Ruby interpreter
|
I think on Windows you need to select ..\bin\jruby.bat.
Try that and let us know what happens.
--
Hassan Schroeder ------------------------ address-removed |
|
| Back to top |
|
 |
fa00026
Joined: 20 Feb 2009 Posts: 29
|
Posted: Sat Apr 04, 2009 1:30 pm Post subject: |
|
|
Ya, you are right it worked. Thanks a lot.
But I have another problem now, the new vesrion of Rails is 2.3.2 (the one I have installed after adding Jruby platform), I do not want this version as I have a project ( the Depot from the ast edition of the book Agile web development with rails) which worked for me before under rails 2.2.2, and is not working under the ne version of Rails (2.3.2 ), I got that message when I first openend the project
Missing the Rails 2.2.2 gem. Please `gem install -v=2.2.2 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
So I have fixed this in Config/ enviornment.rb by altering RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
into
RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
but my project is not working, once I do Run it shows me nothing no borowser is openend nor any error message. While it was working fluently when I had the prior versin of Rail 2.2.2 so is there a way to downgrade to rails 2.2.2? or any suggetions.
Thanks |
|
| Back to top |
|
 |
Hassan Schroeder Posted via mailing list.
|
Posted: Sat Apr 04, 2009 2:28 pm Post subject: A beginner/ Set up Ruby |
|
|
On Sat, Apr 4, 2009 at 6:30 AM, fa00026 <address-removed> wrote:
| Quote: | | But I have another problem now, the new vesrion of Rails is 2.3.2 (the one |
|
| 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
|
|
|
|
|