我的操作系统是Windows 7,我想要将本地MySQL数据库连接到Heroku共享数据库。但在某个时候,我遇到了“libmysql.dll文件丢失”的错误,于是我搜索并下载了dll文件,并将其保存在ruby / bin目录中。但是,在我再次尝试连接时,出现了“ruby.exe未被识别为内部或外部命令”的错误。以下是错误的样子。
发送模式(schema)。
发送模式(schema)。
'"ruby.exe"' is not recognized as an internal or external command,TA: --:--:--
operable program or batch file.
'"ruby.exe"' is not recognized as an internal or external command,TA: 00:00:07
operable program or batch file.
'"ruby.exe"' is not recognized as an internal or external command,TA: 00:00:04
operable program or batch file.
'"ruby.exe"' is not recognized as an internal or external command,TA: 00:00:02
operable program or batch file.
'"ruby.exe"' is not recognized as an internal or external command,TA: 00:00:01
operable program or batch file.
Schema: 100% |==========================================| Time: 00:00:06 'ruby.exe' 未被识别为内部或外部命令、可执行程序或批处理文件。
C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/lib/vendor/okj
son.rb:82:in `valparse': unexpected nil (OkJson::ParserError)
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/vendor/okjson.rb:64:in `textparse'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/vendor/okjson.rb:43:in `decode'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/taps/operation.rb:419:in `push_indexes'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/taps/operation.rb:408:in `block in run'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/taps/operation.rb:203:in `call'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/taps/operation.rb:203:in `catch_errors'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/taps/operation.rb:405:in `run'
from C:/Program Files/Heroku/ruby/lib/ruby/gems/1.9.1/gems/taps-0.3.23/l
ib/taps/cli.rb:171:in `clientxfer'
from C:/Users/JOE ARPUTHAN/.heroku/client/lib/heroku/command/db.rb:194:i
n `taps_client'
from C:/Users/JOE ARPUTHAN/.heroku/client/lib/heroku/command/db.rb:35:in
`push'
from C:/Users/JOE ARPUTHAN/.heroku/client/lib/heroku/command.rb:129:in `
run'
from C:/Program Files/Heroku/heroku:27:in `<main>'
$PATH
中。我想在Windows中应该是%PATH%
。 - Reactormonk