【问题标题】:Package an app with Shoes under WindowsWindows下用Shoes打包一个应用
【发布时间】:2014-08-27 19:21:18
【问题描述】:

我正在尝试使用Shoes 创建一个自运行的独立 .exe 包。当我启动 Shoes.exe 并单击“Package an App with Shoes”时没有任何反应,但我在控制台中收到以下错误:

126: The specified module could not be found. - C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/ruby/2.1.0/i386-mingw32/binject.so
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/ruby/2.1.0/rubygems/core_ex/kernel_require.rb:55:in `require'
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/ruby/2.1.0/rubygems/core_ex/kernel_require.rb:55:in `require'
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/shoes/app_package.rb:3:in `<top (required)>'
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/ruby/2.1.0/rubygems/core_ex/kernel_require.rb:55:in `require'
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/ruby/2.1.0/rubygems/core_ex/kernel_require.rb:55:in `require'
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/shoes.rb:206:in `app_package'
C:/Program Files (x86)/Common Files/Shoes/3.2.14-gtk2-32/lib/shoes.rb:171:in `block (4 levels) in splash'
-e:1:in `call'

这是在 Windows7x64 上,运行 Shoes v3.2.14。打包程序是否存在已知问题,如果有,是否有任何解决方法?

此文件确实存在于我的硬盘上:
C:\Program Files (x86)\Common Files\Shoes\3.2.14-gtk2-32\lib\ruby\2.1.0\i386-mingw32\binject.so

【问题讨论】:

    标签: ruby windows shoes


    【解决方案1】:

    这是a bug in Shoes v3.2.14。它has been fixed in v3.2.15

    v3.2.14 的解决方法是其他操作系统(例如 OS X)上的 Shoes 能够为 Windows 打包二进制文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-03-06
      • 2012-05-01
      • 2023-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多