Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Modern WordPress Workflow The Staging Server Migrating from Local to Staging

Jason Mann
Jason Mann
744 Points

Why won't "wordmove init" work in my site's directory?

I installed wordmove in a directory ("wordmove") inside my Sites directory. All of my sites are in separate subfolders of "Sites."

When I move into Sites/[site_name] and "wordmove init", I get "wordmove: command not found".

Any idea why the command wouldn't work in a site directory?

Alexis Leblanc-Isabelle
Alexis Leblanc-Isabelle
9,558 Points

I'm not sure to understand all this but. What I did first was to go in the main Desktopserver folder which contain all the folder for my website and I cloned the git there. This seemed to be what Jesse had done. So I had a folder called wordmove along side other folder container my different website. Than I did gem install wordmove in the wordmove folder. Switched back to the website folder and tried to use wordmove command. It didn't worked ... and logically it shouldn't work but it seems to be what Jesse do in the video.

So I deleted the wordmove folder, forget about the cloning stuff and simply did the "gem install wordmove" Inside my website project folder and no, I can use the wordmove command and it seems to work.

I dont know If I got the video wrong or if there is a mistake somewhere in what I've done but it seems to work.

1 Answer

Jesse Petersen
STAFF
Jesse Petersen
Treehouse Guest Teacher

These are the steps for inside the WordMove folder. If the command isn't found, you didn't run the install command. It configures itself from there.

sudo gem install wordmove cd .. cd [site] wordmove init

Jason Mann
Jason Mann
744 Points

Thanks, Jesse. I re-installed ruby and everything worked like magic.

Wordmove is amazing. The only thing that would make it better is support for installing Wordpress in a sub directory (I used Mark Jaquith's WP Skeleton, installing WP as a git submodule.)

But thanks for the tutorial!