Ruby on Rails -- versions to use with NB 6.5

View: New views
5 Messages — Rating Filter:   Alert me  

Ruby on Rails -- versions to use with NB 6.5

by djlewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: Ruby on Rails -- versions to use with NB 6.5

by Zac Zheng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <djlewis@...>

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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: Ruby on Rails -- versions to use with NB 6.5

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David,

djlewis wrote:
> 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).

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Ruby on Rails -- versions to use with NB 6.5

by djlewis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:
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

Re: Ruby on Rails -- versions to use with NB 6.5

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:

> 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:
>  
>> 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
>>
>>    
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...