ruby-2.2.4缺少库(Libraries missing for ruby-2.2.4)
我正在尝试重新编译我的红宝石因为pry停止工作。
这是我得到的错误。
Sorry, you can't use Pry without Readline or a compatible library.
我做到了
brew update rvm get head rvm cleanup all rvm reinstall ruby-2.2.4
但是我在安装过程中仍然遇到错误而且无法正常工作。
Libraries missing for ruby-2.2.4: /Users/travis/.rvm/rubies/ruby-2.2.4/lib/libruby.2.2.0.dylib. Refer to your system manual for installing libraries
和
Error running '__rvm_patch -F 25 -p1 -N -f -i /Users/kel/.rvm/patches/ruby/2.2.4/openssl3.patch', showing last 15 lines of /Users/kel/.rvm/log/1479717703_ruby-2.2.4/patch.apply.openssl3.log
任何帮助,将不胜感激。 谢谢。
I am trying to recompile my ruby because pry stopped working.
This is the error I'm getting.
Sorry, you can't use Pry without Readline or a compatible library.
I did
brew update rvm get head rvm cleanup all rvm reinstall ruby-2.2.4
But I'm still getting errors during the installation and can not get pry working.
Libraries missing for ruby-2.2.4: /Users/travis/.rvm/rubies/ruby-2.2.4/lib/libruby.2.2.0.dylib. Refer to your system manual for installing libraries
and
Error running '__rvm_patch -F 25 -p1 -N -f -i /Users/kel/.rvm/patches/ruby/2.2.4/openssl3.patch', showing last 15 lines of /Users/kel/.rvm/log/1479717703_ruby-2.2.4/patch.apply.openssl3.log
Any help would be appreciated. Thanks.
原文:https://stackoverflow.com/questions/40715966
更新时间:2019-12-03 08:12
最满意答案
相关问答
更多如何在自定义帖子类型上使用虚拟数据填充Wordpress?(How to fille Wordpress with dummy data on a custom post type?)
我找到了完成这项工作的工具; http://www.smackcoders.com/blog/how-to-guide-for-free-wordpress-ultimate-csv-importer-plugin.html I have found the tool that does the job; http://www.smackcoders.com/blog/how-to-guide-for-free-wordpress-ultimate-csv-importer-plugin.htm
VB.Net 4.6使用Zipfile(VB.Net 4.6 using Zipfile)
您正在混合使用2种不同的“ZipFile”API。 您复制的示例代码希望您具有对DotNetZip库的引用,以使用ZipFile类,该类不是.NET Framework的一部分。 .NET Framework本身也有一个ZipFile类,但使用不同的API,这是您的代码当前所指的那个。 选择您要使用的那个,并确保引用正确的库并阅读相应的文档以正确编码。 You are mixing up 2 different "ZipFile" APIs. The sample code you copied
使用codeigniter进行jquery自动完成(jquery autocomplete with codeigniter)
首先根据MVC模式,您不应该在模型中回显任何内容。 所有这些逻辑必须位于Controller将从中获取数据的控制器。 将您的模型更改为: function get_sku_code($q){
$this->db->select('ProductCode');
$this->db->like('ProductCode', $q);
$query = $this->db->get('ProductList');
$row_set = array();
if
使用Postgres和Rails进行分面过滤(Faceted filtering using Postgres & Rails)
使用ThinkingSphinx或Apache Solr - 都有内置的刻面。 你可以自己滚动(如另一个很好的答案所示),但我的经验表明,你最好添加一个真正的搜索引擎,并利用那里的分面功能,以及其他搜索功能。 我使用Solr进行所有新开发,但ThinkingSphinx通常更容易设置,并且它具有新功能(主要是连续索引),使其成为一个很好的竞争者。 Use ThinkingSphinx or Apache Solr - both have built-in faceting. You can ro
当我使用php重复从mysql重新获取数据时,Javascript只在第一条记录上工作?(when I repeat data retrived from mysql using php, Javascript work only on the first record?)
问题是您使用id countdown进行多次跨度,但每个人都必须拥有另一个唯一ID,因此您可以指向每个。 <?php $id = uniqid(); /* create unique id for each row */ ?>
<a>
<div>
<? echo $row['Device Name']; ?>
</div>
<? $Remain = $row['Remaining Time']; ?>
<font color="red" size="6">
为Android编写Facebook登录应用程序时出错(error while writing Facebook login app for android)
您可能已在sdk管理器中设置了minSdkversion 9而未安装包api 2.3。 You might have set minSdkversion 9 and not installed package api 2.3 in sdk manager.
Ruby koans:被koan 268困惑(Ruby koans: Baffled by koan 268)
我在ruby 2.1.5p273上运行了这段代码: class A
def initialize
attr_accessor :m
end
def a(i)
@m = i
end
end
a = A.new
这会引发错误: NoMethodError: undefined method `attr_accessor' for #<A:0x007f8313022220>
from (irb):3:in `initialize'
问题是attr_acces
从Python中的类调用方法(Calling a method from a class in Python)
你不会自己传递自己。 它是对您调用该方法的类的实例的引用。 因此,您需要创建Ben的实例,并在该实例上调用该方法: ben = Ben()
ben.foo()
而不是: return i
你需要使用: return self.i
You don't pass self yourself. It is a reference to an instance of the class on which you invoke that method. So, you would need to