nokogiri - 我无法在 JRUBY 上安装 Nokogiri
问题描述
我以前从未使用过 JRuby,但我这样做是为了修改游戏。这是我正在关注的教程:http: //www.twcenter.net/forums/showthread.php? 707386-Using-ESFviaXML-to-Unpack-Startpos-and-Save-Games-into-Text-Files
我通过说 jruby -version 来检查 JRuby 是否工作,但我得到 NameError: undefined local variable or method `rsion' for main:Object。我不知道这是否有问题。
无论如何,我使用: jgem install nokogiri --pre 但我得到了这个:
回溯(最近一次通话最后):6:来自 D:\jruby-9.2.16.0/bin/jirb_swing:63:in `'
5: from org/jruby/RubyKernel.java:1189:in `catch'
4: from org/jruby/RubyKernel.java:1189:in `catch'
3: from org/jruby/RubyKernel.java:1442:in `loop'
2: from org/jruby/RubyKernel.java:1048:in `eval'
1: from (irb):5:in `evaluate'
NameError (undefined local variable or method `pre' for main:Object) 你的意思是?过程
我不知道我做错了什么,因为我以前从未使用过 Ruby。
解决方案
推荐阅读
- html - 如何解决底部 div 和顶部 div 固定位置上可滚动内容的透明度问题
- django - 如何将我的 Django 文件上传到 AWS ec2?
- python - 在 numpy 中使用 rstrip 删除文件扩展名
- python - 如何理解每个模型的 keras 中的 `preprocess_input` 函数?
- c# - 如何验证 asp.net mvc OWIN 从 azure AD B2C 收到的 id_token
- android - 如何在视图持有者中添加 onclicklistner
- unity3d - 无法将 System.Serializable/SerializedField 用于我正在构建的 AudioManager 组件
- html - 将列表从views.py传递到显示空值的模板
- node.js - 如果没有结果显示,我的脚本无法打印无
- javascript - 更新镜像 div 中的文本后,输入为空白