Closed FlorentinaArandano closed 7 years ago
This sounds more like a Ruby Installation issue.
Have a look at this: http://stackoverflow.com/questions/18908708/installing-ruby-gem-in-windows
@FlorentinaArandano I can confirm there's not yet snothing to do with Wordmove there. The problem is with your ruby installation.
And as far as some of us here are ruby-ists, we can't afford to help you on a windows system.
I have this clue from a past discussion https://github.com/welaika/wordmove/issues/252#issuecomment-209778746; but I have no competence at all about it. I'm sorry.
As a final note:
spec.required_ruby_version = "~> 2.0"
which means we do not support ruby versions prior to 2.0 and you are trying on your system with the - quite old! - 1.9.1.
Cheers
To get Wordmove installed with Windows bash I had to do the steps below:
sudo apt-get install rubygems-integration sudo apt-get install ruby-dev
sudo apt-add-repository ppa:brightbox/ruby-ng sudo apt-get update sudo apt-get install ruby2.3
sudo apt-get install build-essential gem install wordmove
Now I have Wordmove installed but still have problems when trying to push/pull.
@phidomo what's the issue?
@kLOsk I can transfer files with wordmove but having trouble with the database. First it couldn't connect with MySql but I can solve that with https://github.com/Microsoft/BashOnWindows/issues/745 sudo /etc/init.d/mysql start
But now I get a mysqldump error: "Access denied for user". I'm using VVV so I guess it is the same problem as in https://github.com/welaika/wordmove/issues/98. So I should install wordmove in Vagrant.
@phidomo during mysql operations Wordmove should print on the STDOUT what command it is running. That is the raw underneath command. I suggest you to copy that one and ensuring it could be run correctly on you dev environment before to proceed.
Take also a look in the wiki about some tips on using Wordmove with VVV and feel free to contribute there if it is needed :)
Also, this sounds like a non-wordmove issue :) Have you tried using WAMP or MAMP for Windows instead of VVV? Might make things easier for starting out!
I installed Wordmove inside of VVV. It was an easier solution to just use the Vagrant VM than to try to make Wordmove work with bash and VVV.
I work on WP using just wp server
from wp-cli ... just saying for inspiration about simplicity :P ;)
I got Wordmove working with Windows 10 bash. See this wiki page https://github.com/welaika/wordmove/wiki/How-to-install-Wordmove-on-Windows-10-with-Bash
@phidodido your contribution is just something beautiful
And I am really happy to see that it can work with those few steps. Wonderful. Thank you!
Oh well...I'm also going to close this issue
After installing successfully gem Attached error: