Ruby 1.9.2 + hero gem + rails 3 + windows

On my Windows computer, I successfully installed Ruby 1.9.2 and Rails 3.0.3. Then I installed the hero to the hero (gem install heroku), version 1.17.10, and it installed perfectly. When I tried to launch the "hero version", he gave me a message: "This application could not be started because msvcrt-ruby18.dll was not found. Re-installing the application may solve this problem."

Can someone tell me what to do now? I appreciate any help I can get.

+4
source share
1 answer

One of the stones you installed was compiled for Ruby 1.8.x, not Ruby 1.9.x

Link to the binary part (extension) against the Ruby shared library (DLL) of this version, therefore msvcrt-ruby18.dll

To work with Ruby 1.9.x, they also need to enable a binary extension that references the Ruby 1.9.x shared library

There are two well-known stones that present this problem: JSON and win32-api.

This has been discussed in the RubyInstaller group several times:

Problems with win32-api (and instructions)

This link also contains instructions for resolving the JSON gem.

To install RubyInstaller DevKit, go to the download page , and as soon as you get the binary, follow the instructions on our wiki

Since you did not indicate the exact result of the error, I am doing my best to guess what the problem is.

Hope this helps.

+6
source

Source: https://habr.com/ru/post/1336529/


All Articles