【发布时间】:2011-06-09 09:13:30
【问题描述】:
我有一个学生在 Windows XP 上进行开发,他在尝试运行 heroku keys:add 时遇到了一个奇怪的错误。错误是:
This application has failed to start because msvcrt-ruby18.dll was not found. Re-installing the application may fix this problem.
经过大约半小时的尝试,我的 google-fu 在这方面失败了。
谁能帮忙?
【问题讨论】:
-
尝试重新安装 Ruby? Ruby 的版本和补丁级别是多少?你用过rubyinstaller.org的包吗?
-
这是 Ruby 1.9.2,他使用了来自 ruby-lang.org/en/downloads 的 RubyInstaller
-
试试
gem update --system看看,这样的dll 缺少are usual。在这些情况下,我只是从我在硬盘上安装的另一个 ruby 将它复制到ruby/bin。似乎 Ruby 安装程序有时不包含重要的 dll,而且我还没有看到关于这个问题的通用答案。
标签: ruby-on-rails ruby dll windows-xp heroku