The specified module could not be found
来源:互联网 发布:淘宝店铺装修毕业设计 编辑:程序博客网 时间:2024/05/22 06:36
这个问题一般是找不到路径,解决办法:
1. 把要require的东西的dll文件加到PATH里面;
2. 把要require的东西的dll或者def放到ruby安装路径的bin里面(c:/ruby200/bin);
3. 有可能装的版本不对(装了个preview之类的版本),uninstall掉,然后重新装一个正常的版本;
4. 我自己遇到的这个问题,最根本的原因是我装了jruby,然后运行的脚本的时候都是jruby代替我原来的ruby来运行的。然后当时装wxruby的时候就是jruby这个东西装的,装了一个jruby自己运行不了的版本,搞得wxruby就一直不能正常运行。 解决方法:在PATH中去掉jruby的path,然后不要运行jruby,这个时候把wxruby卸载掉,重新装,然后就好了。
..Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': 126: The specified module could not be found. - ..Ruby200/lib/ruby/gems/2.0.0/gems/wxruby-2.0.1-x86-mingw32/lib/wxruby2.so (LoadError)
from ../Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ../Ruby200/lib/ruby/gems/2.0.0/gems/wxruby-2.0.1-x86-mingw32/lib/wx.rb:12:in `<top (required)>'
from ../Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from ../Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from ../Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from UI.rb:2:in `<main>'
0 0
- The specified module could not be found
- The specified module could not be found
- IIS出现The specified module could not be found解决方法
- IIS出现The specified module could not be found解决方法
- [转]The specified module could not be found. (Exception from HRESULT: 0x8007007E)
- Web服务器The specified module could not be found错误解决方法
- IIS出现The specified module could not be found的解决方法
- 解决IIS出现The specified module could not be found的方法
- IIS错误解决方法:The specified module could not be found、访问 IIS 元数据库失败
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- IIS出现The specified module could not be found错误解决方法!
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- monogame Unable to load DLL 'openal32.dll': The specified module could not be found
- ISAPI程序出现“The specified module could not be found”问题解决方法
- IIS不能访问,出现The specified module could not be found问题 解决方法
- GetModuleFileName False failed with error 126 (The specified module could not be found)
- IIS出现The specified module could not be found的解决方法
- OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
- The summary of C++
- <Head First 设计模式>:适配器模式:Adapter
- java泛型-泛型的内部原理
- MySQL的数据类型
- Tomcat 发布网站
- The specified module could not be found
- 轻松搞定面试中的二叉树题目
- 对象的比较--Comparable接口和Comparator接口的使用
- leetCode刷题——Same Tree
- css学习笔记(三)——布局模型
- vs2013 gstreamer1.4.5 配置
- (思维分析)12th浙江省赛,B.Team Formation
- 黑马程序员-java中scanner的使用
- 如何解决Eclipse启动时画面一闪而过