welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 167 forks source link

command not found: wordmove #521

Closed n8sb closed 5 years ago

n8sb commented 5 years ago

On Mojave 10.14.4 I have upgraded the version of Ruby on my system to 2.6.2 and installed the wordmove gem however I get

zsh: command not found: wordmove every time that I attempt to use the command.

gem list shows wordmove installed

Ive tried this with both homebrew and rbenv for installing ruby.

Thanks

mythnc commented 5 years ago

Please check your GEM PATHS by using gem environment, then add the correct path in your shell rc file

ref https://stackoverflow.com/questions/2392293/ruby-gems-returns-command-not-found

alessandro-fazzi commented 5 years ago

@n8sb why you upgraded the ruby version? Isn't Wordmove compatible with the default shipped ruby version?

Unfortunately I can't help so much with environment setup problems. Moreover if you're using rbenv and it does not work for you, I'd advice to reach the rbenv community for help; you can tell about wordmove as "a gem that ships an executable".

I can assure that wordmove's executable per se is there and is working :)

Best luck

n8sb commented 5 years ago

@pioneerskies Unfortunately, Wordmove isn't compatible with the default version of ruby on OSX which put me down this road in the first place :/.

alessandro-fazzi commented 5 years ago

Understood.

I swear that (re)following this paragraph https://github.com/rbenv/rbenv#homebrew-on-macos about rbenv's installation will do the work. Probably you just missed something (like: "Follow the printed instructions to set up rbenv shell integration.") :)