문제

i am developing a app and have been for a while using Rails 2.3.4 but I'm wondering if i should try to update, or keep waiting, never upgrade, i suppose I have a couple options.

I am using ruby 1.8.7 would i need to upgrade that too huh?

how difficult would this be/ how much code would this break, would i have lots of unexpected results?

any input would be appreciated, I'm somewhat lost.

도움이 되었습니까?

해결책

It largely depends on your constraints. If you plan on keeping the site up and running, and it has significant importance to you and/or your client, then staying on the Rails "golden path" is worth it. In general, upgrading Rails 2 to Rails 3 is relatively easy.

You may want to check to see if your plugins / gems are Rails 3 compatible at http://www.railsplugins.org/.

In terms of learning curve, you'll want to get familiar with bundler.

You can stick with Ruby 1.8.7.

Now, if you want to embrace all the advantages of Rails 3, that will take a little more time (refactoring) but it shouldn't stop you from upgrading.

For more information you might take a look at: http://www.railsupgradehandbook.com/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top