Ruby on Rails Wednesday, August 22, 2018

For security concerns you might investigate rails long term support
(https://railslts.com).  They maintain a 2.3.18+ version of the system
with security updates. The path to 2.3.18 is easy but it starts to get
fairly complex after that.  Prototype is not supported and jquery is the
default option, gems you have been using are no longer there etc.  I
don't believe rails 2.3 will run on ruby above 1.8.7 without changes. I
am going through the same process and it isn't easy.

Is the migration mandatory or could you install rails 2.3 and ruby 1.8.7
on the new system?

Norm

On 08/22/2018 08:24 AM, Phil Edelbrock wrote:
>
>> On Aug 22, 2018, at 8:08 AM, Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
>>
>> On Wed, Aug 22, 2018 at 6:30 AM, Robert Nicholson
>> <robert.nicholson@gmail.com> wrote:
>>
>>> apache 2.2.4, ruby 1.8.7, rails 2.3.8, passenger 2.2.5
>>>
>>> and we're expected to migrate to
>>>
>>> apache 2.4.27, ruby 2.51, rails 5.2.1 and passenger 5.3.4
>>> Are there any migration guides that highlight the complexity involved?
>> ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ
>>
>> Your options:
>>
>> 1) migrate (very slowly) version-by-version
>>
>> 2) "big bang" re-implement the entire app on the current Ruby/Rails
>>
>> 3) continue running the old version and start replacing it piecemeal
>> (the "Strangler Pattern")
>>
>> Good luck!
> LOL, well said. I wouldn't recommend #1, imho. A lot of extra work to get to the end. Just rewrite, or let things be as they were. Upgrading Apache and Passenger probably aren't going to impact the migration of the app. A newer Ruby *might* require some updates in the app (but give speed improvements). Keeping on the old Rails and otherwise old app code probably would still work in the new environment (albeit, there could be security concerns).
>
>
> Phil
>

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e8c66763-4be3-9415-3433-7d4a2e8c61b5%40earthlink.net.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment