Ruby 1.9.2 + heroku gem + rails 3 + windows
On my windows computer, I installed Ruby 1.9.2 and Rails 3.0.3 successfully. I then installed the the heroku gem (gem install heroku), version 1.17.10, and it installed fine. When I tried to run "heroku version", it gave me a message, "This application has failed to start because msvcrt-ruby18.dll was not found. Re-installing the application may fix this 开发者_开发技巧problem."
Can anybody tell me what to do now? I appreciate any help that I can get.
One of the gems that you have installed has been compiled for Ruby 1.8.x and not Ruby 1.9.x
The binary part (extension) link against the Ruby shared library (DLL) of that version, so msvcrt-ruby18.dll
For them to work on Ruby 1.9.x, they need to also include the binary extension that links against to the shared library of Ruby 1.9.x
There are two known gems that present this issue: JSON and win32-api.
This has been discussed on RubyInstaller group several times:
Issues with win32-api (and instructions)
In that link will find also instructions how to solve JSON gem too.
To install the RubyInstaller DevKit, please go to our downloads page and once you obtain the binary, follow the instructions in our wiki
Since you haven't provided exact output of the error, I'm doing my best to guess what is the issue.
Hope this helps.
精彩评论