解决方法如下:
下载1.9.2源文件,执行以下命令
$ cd ~/Downloads/ruby- 1 . 9 . 2 -p180/ext/openssl (assuming you extracted the ruby tar to ~/Downloads)
$ ruby extconf.rb && make && sudo make install
|
If you’ve compiled Ruby from source, you might get this error when executing script/console:
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
One way of fixing this is to compile readline, which is distributed along with the Ruby source:
cd /opt/src/ruby-1.8.5-p2/ext/readline
ruby extconf.rb
make
sudo make install
分享到:
相关推荐
NULL 博文链接:https://tomsxh001.iteye.com/blog/849198
本文实例讲述了Laravel框架访问...`Warning: require(/http/www.mywakavLee.cn/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /http/www.mywakavLee.cn/bootstrap/autolo
通过源码安装Ruby 2.7.0版本时报错,内容:ruby-2.7.0/lib/rubygems/core_ext/kernel_require.rb:92:in 'require': cannot load such file -- openssl (LoadError) 处理过程 前情提要:最近打算把自己的技术总结...
ruby sample: @echo off cd D:\proj\demo ...rem load test data (it depends on the db:environment and db:migrate tasks) call rake db:load_test_data call ruby script/server webrick @echo on
解决redis集群配置时出现的一个错误;..../redis-trib.rb:24:in `require': no such file to load -- rubygems (LoadError) from ./redis-trib.rb:24 yum install rubygems 相信你既然看到,那就是遇到了这个问题了
解决redis集群配置时出现的一个错误;..../redis-trib.rb:24:in `require': no such file to load -- rubygems (LoadError) from ./redis-trib.rb:24 yum install rubygems 相信你既然看到,那就是遇到了这个问题了
离线安装包,亲测可用
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require’: no such file to load — readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init...
离线安装包,亲测可用
离线安装包,亲测可用
4)....Added "--el_injectjcl", "--el_createjcl", and "--el_createdbg" command-line options for ecc32/emake to inject JEDI/JCL debug info, create .jdbg file, and create .dbg file (Microsoft debug format...
如果收到此错误: /jekyll/commands/serve/servlet.rb:3:in 'require': cannot load such file -- webrick (LoadError) :3: /jekyll/commands/serve/servlet.rb:3:in 'require': cannot load such file -- webrick...
然后运行yarn build % yarn buildyarn run v1.22.10$ next build> Build error occurredError: Cannot find module 'terser-webpack-plugin'Require stack:- my-app-yarn/node_modules/next-pwa/build-custom-...
:sign_of_the_horns: :sign_of_the_horns: :wrench: 安装npm install --save no-try :guitar: 用法首先,我们需要设置导入JavaScript(全部) const useTry = require ( "no-try" ) . useTry ;const useTryAsync = ...
var load = require ( 'load-script-once' ) ; load ( '//www.google-analytics.com/ga.js' ) ; 加载到Google Analytics(分析)库中(假设它不在页面上) var load = require ( 'load-script-once' ) ; load ( ...
NMP版本的blueimp-load-image 安装 $ npm install --save blueimp-load-image... var imageLoad = require ( 'blueimp-load-image-npm' ) ; 有关详细信息,请参考 。 执照 麻省理工学院:copyright: 学分 所有学分归
离线安装包,亲测可用
composer require griffinledingham/php-apple-signin 例子 <?php use AppleSignIn \ ASDecoder ; $ clientUser = "example_client_user" ; $ identityToken = "example_encoded_jwt" ; $ appleSignInPayload = ...