首页 \ 问答 \ ruby-2.2.4缺少库(Libraries missing for ruby-2.2.4)

ruby-2.2.4缺少库(Libraries missing for ruby-2.2.4)



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


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.

更新时间:2019-12-03 08:12



brew rm openssl
brew cleanup openssl
brew install openssl

This might help you.

brew rm openssl
brew cleanup openssl
brew install openssl



如何在自定义帖子类型上使用虚拟数据填充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




  • 根据Woocommerce中的自定义字段计算自定义购物车商品价格(Custom cart item price calculation based on dimentions custom fields in Woocommerce)
  • 分开foreach项目并单独打印(Separate foreach items and print them individually)
  • 写模式管道是否同步?(Is write mode pipe synchronous?)
  • 发现可用的Windows Phone强调色和本地化名称(Discover available Windows Phone accent colors and localized names)
  • 使用多线程和WPF更新集合(Update Collection with multithreading and WPF)
  • 如何在字符串的情况下使用同步?(How should the synchronization be used in case of strings?)
  • 打印唯一的行,比较不超过N个字符(Print unique lines, compare no more than N characters)
  • Javascript / jQuery - 如何调用switch case从另一个函数执行(Javascript/jQuery - how to call a switch case to execute from another function)
  • Hbase超时错误不断发生(Hbase timeout errors keep occuring)
  • 如何在Delphi中更改TabControl中活动TAB的颜色(How to change the color of active TAB in a TabControl, in Delphi)
  • 正则表达式:在sublime文本中替换一些PHP代码(Regex: replace some pieces of php code in sublime text)
  • 在带有Scene2D的LibGDX中,如何在按下按钮时连续向右走?(In LibGDX with Scene2D, how can I continuously walk to the right when a button is pressed?)
  • 累加器如何在Haskell中工作?(How do accumulators work in Haskell?)
  • 使用开关检查市场和前缀与正确的货币符号(using switch to check market and prefix with correct currency symbol)
  • 在哪里分配一次使用类?(Where to allocate one time use class?)
  • 如何从两个DateTime / NaiveDateTime获取持续时间?(How do I get Duration from two DateTime / NaiveDateTime?)
  • 解析TimeSpan大于24小时?(Parse a TimeSpan greater than 24 hours? [duplicate])
  • 如何在球拍中本地更改阅读规则?(How to locally change reading rules in racket?)
  • 数据库应该由DI注入时的模拟存储(通过构造函数)(Mock storage when database should be injected by DI (through constructor))
  • 使用maven集成2个eclipse项目(Integrate 2 eclipse projects using maven)
  • 角度ng-repeat不检测变化(Angular ng-repeat not detecting changes)
  • Xaml组件在Silverlight + XNA应用程序的多个页面中可见(Xaml component visible in multiple pages in Silverlight+XNA applications)
  • 如何将`var`变量等同于另一个查询(How to equate `var` variable to another query)
  • 如何设计hyperledger链代码以适合您的业务?(how to design your chaincode of hyperledger to fit for your business?)
  • PHP readfile错误(PHP readfile error)
  • 在Date之后排序列表然后是时间(Sorting list after Date then time)
  • Android内部版本号(Android build number)
  • 在没有预设退出条件的情况下停止无限循环(stopping an infinite loop with no preset exit condition)
  • Phonegap应用程序全屏通过html页面中的按钮(Phonegap Application fullscreen through a button in html page)
  • PAA是否适合在门户网站中自动执行wcm库部署和设置?(Is PAA a good candidate for automating wcm library deployment and setup in portal?)