Skip to content

Instantly share code, notes, and snippets.

@AndreaBarghigiani
Created November 26, 2013 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreaBarghigiani/7651231 to your computer and use it in GitHub Desktop.
Save AndreaBarghigiani/7651231 to your computer and use it in GitHub Desktop.
Errore con Wordmove in cerca di soluzione
iMac-di-Andrea:vdAM andreabarghigiani$ wordmove push -s --all
▬▬ ✓ Using Movefile: ./Movefile ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
/Library/Ruby/Gems/2.0.0/gems/wordmove-1.1.0/lib/wordmove/deployer/base.rb:23:in `deployer_for': You need to specify an environment with --environment parameter (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.1.0/lib/wordmove/cli.rb:56:in `push'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /Library/Ruby/Gems/2.0.0/gems/wordmove-1.1.0/bin/wordmove:6:in `<top (required)>'
from /usr/bin/wordmove:23:in `load'
from /usr/bin/wordmove:23:in `<main>'
iMac-di-Andrea:vdAM andreabarghigiani$ wordmove -e staging
Could not find command "_e".
iMac-di-Andrea:vdAM andreabarghigiani$
@kampiamodikuesto
Copy link

Ho installato ruby via rbenv e rbenv-build. Ho impostato la versione di ruby globalmente, localmente (nella directory locale dove ho installato wordpress) e nella shell corrente (dal percorso della directory locale dove ho installato wordpress):
Ottengo questo errore:
An exception occurred running /Users/nonchiedercilaparola/.rbenv/versions/rbx-2.2.10/bin/wordmove:

You need to specify an environment with --environment parameter (RuntimeError)

Backtrace:

Wordmove::Deployer::Base.deployer_for at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/gems/gems
/wordmove-1.2.0/lib/wordmove/deployer
/base.rb:25
Wordmove::CLI#push at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/gems/gems
/wordmove-1.2.0/lib/wordmove/cli.rb:56
Thor::Command#run at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/gems/gems
/thor-0.19.1/lib/thor/command.rb:27
Thor::Invocation(Wordmove::CLI)#invoke_command at /Users/nonchiedercilaparola
/.rbenv/versions/rbx-2.2.10
/gems/gems/thor-0.19.1/lib
/thor/invocation.rb:126
Thor.dispatch at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/gems/gems
/thor-0.19.1/lib/thor.rb:359
Thor::Base::ClassMethods(Class)#start at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/gems/gems
/thor-0.19.1/lib/thor/base.rb:440
Object#script at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/gems/gems
/wordmove-1.2.0/bin/wordmove:6
Kernel(Object)#load at kernel/common/kernel.rb:447
Object#script at /Users/nonchiedercilaparola/.rbenv
/versions/rbx-2.2.10/bin/wordmove:23
Rubinius::CodeLoader#load_script at kernel/delta/code_loader.rb:66
Rubinius::CodeLoader.load_script at kernel/delta/code_loader.rb:152
Rubinius::Loader#script at kernel/loader.rb:649
Rubinius::Loader#main at kernel/loader.rb:825

@kampiamodikuesto
Copy link

Suggeriscono di utilizzare l'interprete mri e non rubinus...mh....la faccenda si complica

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment