| View previous topic :: View next topic |
| Author |
Message |
djlewis Posted via mailing list.
|
Posted: Sat Feb 28, 2009 6:35 pm Post subject: Ruby on Rails -- versions to use with NB 6.5 |
|
|
I have looked but cannot find definitive statements on which versions of Ruby
and Rails I can use with NB 6.5 for a stable, supported environment. Can
someone supply this or point me to the info. I'd like MRI ruby with the fast
debugger.
My guesses from various messages are...
Ruby -- 1.8.7 (would prefer 1.9.1)
Rails -- 2.0.2 (would prefer 2.2)
I will be importing an app written elsewhere into NB 6.5, and need to
specify what versions to use.
Thanks. --David.
--
View this message in context: http://www.nabble.com/Ruby-on-Rails----versions-to-use-with-NB-6.5-tp22264106p22264106.html
Sent from the NetBeans Ruby Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
Zac Zheng Posted via mailing list.
|
Posted: Mon Mar 02, 2009 7:42 am Post subject: Ruby on Rails -- versions to use with NB 6.5 |
|
|
You should be using the version of Rails the original app was written for. This should be specified in config/environment.rb. Otherwise you most probably will face issues.
As a rule, because Rails improves rapidly, you should aim to use the latest version, which will be 2.3 in a matter of days.
Zac
2009/2/28 djlewis <address-removed ([email]address-removed[/email])>
| Quote: |
I have looked but cannot find definitive statements on which versions of Ruby
and Rails I can use with NB 6.5 for a stable, supported environment. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Mon Mar 02, 2009 12:18 pm Post subject: Ruby on Rails -- versions to use with NB 6.5 |
|
|
Hi David,
djlewis wrote:
| Quote: | I have looked but cannot find definitive statements on which versions of Ruby
and Rails I can use with NB 6.5 for a stable, supported environment. Can
someone supply this or point me to the info. I'd like MRI ruby with the fast
debugger.
My guesses from various messages are...
Ruby -- 1.8.7 (would prefer 1.9.1)
|
The IDE doesn't fully support 1.9 yet, so in this respect 1.8.7 would
indeed be a better bet. Also, if you're not planning to use Rails 2.3 I
think you would have problems with Rails and 1.9.1 (AFAIK 2.3 is suppose
to support 1.9.1).
| Quote: | Rails -- 2.0.2 (would prefer 2.2)
|
Rails 2.2 should work fine with the IDE; a couple of new dynamic finder
methods introduced in 2.2 are not shown in the code completion dialog,
but I think that isn't that big issue (obviously you can still use them
normally). In any case, from the IDE point of view, I don't think there
is any reason to prefer 2.0.x over 2.1.x. 2.1.1 had issues with JRuby,
but that shouldn't matter to you since you're planning to use MRI.
Erno |
|
| Back to top |
|
 |
djlewis Posted via mailing list.
|
Posted: Mon Mar 02, 2009 9:55 pm Post subject: Ruby on Rails -- versions to use with NB 6.5 |
|
|
Thanks! That jibes with the information I gleaned from several messages. I
will specify those versions for the app.
BTW, when will we see 1.9.x MRI support?
Regards. --David.
Erno Mononen wrote:
| Quote: |
The IDE doesn't fully support 1.9 yet, so in this respect 1.8.7 would
indeed be a better bet. Also, if you're not planning to use Rails 2.3 I
think you would have problems with Rails and 1.9.1 (AFAIK 2.3 is suppose
to support 1.9.1).
Rails 2.2 should work fine with the IDE; a couple of new dynamic finder
methods introduced in 2.2 are not shown in the code completion dialog,
but I think that isn't that big issue (obviously you can still use them
normally). In any case, from the IDE point of view, I don't think there
is any reason to prefer 2.0.x over 2.1.x. 2.1.1 had issues with JRuby,
but that shouldn't matter to you since you're planning to use MRI.
Erno
|
--
View this message in context: http://www.nabble.com/Ruby-on-Rails----versions-to-use-with-NB-6.5-tp22264106p22297688.html
Sent from the NetBeans Ruby Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Tue Mar 03, 2009 8:24 am Post subject: Ruby on Rails -- versions to use with NB 6.5 |
|
|
Hi David,
1.9 support is planned for the upcoming 6.7 that should be out in June.
Debugging support for 1.9 depends on whether the back-end will be ready
for it (which it didn't seem to be the last time checked).
BR,
Erno
djlewis wrote:
| Quote: | Thanks! That jibes with the information I gleaned from several messages. I
will specify those versions for the app.
BTW, when will we see 1.9.x MRI support?
Regards. --David.
Erno Mononen wrote:
| Quote: | The IDE doesn't fully support 1.9 yet, so in this respect 1.8.7 would
indeed be a better bet. Also, if you're not planning to use Rails 2.3 I
think you would have problems with Rails and 1.9.1 (AFAIK 2.3 is suppose
to support 1.9.1).
Rails 2.2 should work fine with the IDE; a couple of new dynamic finder
methods introduced in 2.2 are not shown in the code completion dialog,
but I think that isn't that big issue (obviously you can still use them
normally). In any case, from the IDE point of view, I don't think there
is any reason to prefer 2.0.x over 2.1.x. 2.1.1 had issues with JRuby,
but that shouldn't matter to you since you're planning to use MRI.
Erno
|
|
|
|
| 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
|
|
|
|
|