On 14 April 2016 at 19:51, Vince Laurent <[email protected]> wrote: > "Have you checked the versions of all the gems (including rails) used > on the old server and installed those and only those on the new one?" > > using gem list --local > > the old system has 16, the new one 64 > Here is the list of the differences: > > gem old new > ------------------------------------ > actionmailer (2.3.5) (4.2.5) > actionpack (2.3.5) (4.2.5) > activerecord (2.3.5) (4.2.5) > activesupport (2.3.5) (4.2.5) > acts_as_ferret (0.4.8.2) (0.5.4) > devise (1.0.5) na > fastthread (1.0.7) na > ferret (0.11.6) (0.11.8.6) > jk-ferret (0.11.8.3) na > passenger (2.2.11) (5.0.27, 5.0.26) > rack (1.0.1) (1.6.4) > rails (2.3.5) (4.2.5) > warden (0.10.2) na > will_paginate (2.3.12) na > > So... do I get rid of ALL the new gems and try to figure out how to just > install the old ones?
Probably, you have no hope as you have it, you are still trying to use rails 4.2.5 which is hugely different to 2.3.5 Installing a specific gem version is easy. For example gem install <name> -v n.n.n Not sure whether for Rails you can just remove the gem versions above and install the 2.3.5 ones or if you will also have problems with the support tools that come with rails being of a later flavour You might also have issues with the version of Ruby you have installed. I don't know which versions of Ruby 2.3 will run with. The nicest way to do it would be to use rvm, which lets you run multiple versions of gems from what are called gemsets, then you can just make the right versions of gems available to your app. Rvm will also allow multiple versions of ruby. But really you are on a massive learning curve, you need someone who knows what they are doing or you will be splashing about in the swamp for a long time. Colin -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu-B-XjFS7Vq_pnR-DSw-buh_Ea%3DAWWPGJGWcWiWzVm9g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

