/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
系统是suse,ruby是1.8.6
在Rails项目目录中ruby ./script/console,就提示上面的错误。
在网上查了一下,是没有安装readline这个lib,它的项目在http://tiswww.case.edu/php/chet/readline/rltop.html
下载readline包后,解压,使用make安装后,
进入ruby的源代码包目录
cd /opt/src/ruby-1.8.6/ext/readline
ruby extconf.rb
make
make install
问题解决了。
相关链接:
http://snippets.aktagon.com/snippets/57-Solution-to-require-no-such-file-to-load-readline-LoadError-problem
http://www.iteye.com/topic/131746
http://forum.slicehost.com/comments.php?DiscussionID=3476
分享到:
相关推荐
ESET Remote Administrator Server/Console 5.3.39.0_CHS Eset远程管理控制台
// Console.WriteLine("{0} * {1} = {2}", i, j, i * j); // } //} //长方形乘法表 //for ( i = 1; i ; i++) //{ // for (j = 1; j ; j++) // { // Console.Write(j); // Console.Write("*"); // ...
禁止使用控制台程序:删除/etc/security/console.apps中的服务 [root@deep]# rm -f /etc/security/console.apps/servicename, 比如:[root@deep]# rm -f /etc/security/console.apps/halt [root@deep]# rm -f /etc/...
Vuejs报错error: Unexpected console statement (no-console) at src\... 解决办法
这个版本的mstsc可以在IP后面添加/console就可以登录到2003服务器的前台了!
成语接龙用的一套数据库附带php接口,可参考这篇文章,https://mp.csdn.net/console/editor/html/99684698
Console Chart 是阿里云云管控解决方案开发套件的一部分,旨在为用户提供一款开箱即用、统一视觉方案的图表组件库。 Install npm install @alicloud/console-chart --save Usage // 引入组件 import { ...
//Console.WriteLine("Test0: {0}", Evaluator.EvaluateToInteger("(30 + 4) * 2")); //Console.WriteLine("Test1: {0}", Evaluator.EvaluateToString(@"""Hello "" + ""There""")); //Console.WriteLine("Test2:...
//初始化当前页的渲染数据集列表实例。 const currentPageList = ref([]); //获取当前页面渲染显示所需的数据源。 const currentPageInit = async () => { const res = await onlineCustomerIndex... //console.lo
https://mp.csdn.net/console/contentRelease/uploadResources
相当帮的教程你们一定要下载 上我点分 我记着下载
//Console.WriteLine(n); //Console.ReadKey(); #endregion #region 2:有一个3*4矩阵,输出最大元素的值,及其所在的行号和列号, int a[3][4]={{1,2,3,4},{9,8,7,6}, {-10,10,-5,2}}。 //int[,] a = { { 1, 2...
//Console.WriteLine($"该点(10,1)是否在圆内?{circle.Contains(10, 1)}"); //Console.WriteLine($"该圆【圆心(0,0),半径3】是否在圆内?{circle.Contains(new Circle(0, 0, 3))}\n"); //Console....
背景:很多好伙伴说这个页面搞不了,自己也没有利用成功过,页面没有激活!struts2支持的几种调试方式:xml - Dumps the parameters,
正在安装$ composer require easywechat/console -vvv 或在全球安装: $ composer global require easywechat/console -vvv用法$ ./vendor/bin/easywechat list# globally install$ easywechat list获取付款RSA公钥...
PCMgr_Setup_cfg(console.ccccltd.cn_80).exe
Console.WriteLine("结果输出路径是:" + strOutputFilePath); Console.WriteLine("开始执行"); ESBasic.Office.OfficeScanner scaner = new ESBasic.Office.OfficeScanner(); int nPage = scaner.GetInfo...
控制台禁令禁止F12 /审查开启控制台,保护站点资源,减少爬虫和攻击的轻量方案,支持重定向,重写,自定义多种策略。版本:2.1用法直接发布: < head > <...在项目中使用: yarn add console-
代码片段: Insane.kolizeSlowery = function(a, ... //console.log("dist: " distance_squared " rad: " (b.km*5)); if (distance_squared (b.km*4)) { return true; } else { return false; } }
Console An Android console view, which allows you to log text using static calls, to easily debug your application, whilst avoiding memory leaks. Usage Include Console anywhere in your layout:...