0

我最近在我的 Win7 PC 上安装了 Ruby 1.9.3。然后我安装了最新版本的 VMC,它似乎运行良好。但是,我被建议卸载该版本,因为它在我的环境中无法正常工作,而是安装 0.3.21。

我已经这样做了,但是现在我输入的每个 VMC 命令基本上都会出现以下错误。我尝试重新安装 Ruby、Sinatra 和 VMC,但仍然遇到相同的错误。有任何想法吗?

C:\$eclipse\TestProjectRuby>vmc -v
can't convert Hash into String
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/commands/base.rb:60:in `expand_path'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/commands/base.rb:60:in `block in load_manifest_structure'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/commands/base.rb:59:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/commands/base.rb:59:in `load_manifest_structure'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/commands/base.rb:81:in `load_manifest'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/commands/base.rb:28:in `initialize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/runner.rb:465:in `new'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/runner.rb:465:in `run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/lib/cli/runner.rb:14:in `run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/vmc-0.3.21/bin/vmc:5:in `<top (required)>'
C:/Ruby193/bin/vmc:23:in `load'
C:/Ruby193/bin/vmc:23:in 'main'
4

1 回答 1

1

为什么建议您卸载最新版本?可能存在 gem 依赖问题,但已解决。

于 2013-02-15T10:48:58.990 回答