wplib / wplib-box

The Best Local Dev Server for WordPress Developers
https://wplib.github.io/box-docs/
MIT License
209 stars 24 forks source link

Update Ruby and Gem #148

Closed dsgnr closed 6 years ago

dsgnr commented 8 years ago

I was attempting to install Wordmove on WPlib-box, unfortunately, this is not possible without updating Gem. I manually updated Ruby in order to install Gem, but Wordmove is on a newer version.

The versions currently installed on this box are quite a bit lower than that on VVV as I was unable to update Gem for some reason, I thought I'd ask here!

nonameolsson commented 8 years ago

I have never heard of Wordmove before, but it sounds really great! I think it would be nice to get it to work with Wplib-box. I will try to get it to work.

nonameolsson commented 8 years ago

Nope, can't install it.

dsgnr commented 8 years ago

I did actually manage to get it installed. gem install rubygems-update update_rubygems gem update --system

Gem went from 1.8 to 2.6

Haven't tested Wordmove fully yet but it didn't cry when I tried to install it.

nonameolsson commented 8 years ago

@dsgnr Did you do that on provision or did you ssh into the box?

dsgnr commented 8 years ago

@nonameolsson I don't know how to do this at the provision stage so was via ssh'ing into the box.

I did have to update ruby itself to a newer version prior to updating gem.

mikeschinkel commented 8 years ago

@dsgnr @nonameolsson FYI, watching your discussion here closely...

dsgnr commented 8 years ago

@mikeschinkel where in the code is the Ruby and Gem versions provided? I'd like to see if I can work out how to check the Ruby and Gem versions, update them if necessary and install Wordmove on provision.

mikeschinkel commented 8 years ago

@dsgnr

where in the code is the Ruby and Gem versions provided

As far as I know, nowhere. We do not install anything Ruby or Gem into WPLib Box. Whatever is in the box comes from Ubuntu 14.04 LTS.

nonameolsson commented 8 years ago

@dsgnr You could try to upgrade Ruby and Gem in the provision-script! Let me know how it goes.

mojenmojen commented 7 years ago

I have wordmove working with Wplib-box. I didn't modify the provision script (not sure how to do that) but I did have to install ruby 2.3.1 on the vagrant box first.

dsgnr commented 7 years ago

@mojenmojen that's correct, you'll need to install rubygems if it's not already installed

mikeschinkel commented 6 years ago

We will be implementing Wordmove as an "Installable" which basically means a Docker Container. See #416.