Ruby executable won't start on Win10 and Win7

前端 未结 1 766
清歌不尽
清歌不尽 2021-01-23 03:49

I wrote a ruby application with Tk, and everything is fine, no errors or such. So i made an exe with Ocra and i had some problems at the start but then i solved, Ocra made the e

相关标签:
1条回答
  • 2021-01-23 04:06

    I solved by installing this ruby version:

    G:\WinRuby\efdsk>ruby -v                                                                                                
    ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32]
    

    And this is the command i used for ocra:

    ocra efdsk.rb --windows C:\Ruby23-x64\lib\tcltk\ --no-autoload --add-all-core
    

    Now the exe file will run normally after double clicking it.

    0 讨论(0)
提交回复
热议问题