`
xitong
  • 浏览: 6189541 次
文章分类
社区版块
存档分类
最新评论

rails no such file to load — readline

 
阅读更多
$script/console
Loading development environment (Rails 2.2.2)
/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)



On Debian/Ubuntu:

apt-get install libreadline-dev

Or on RHEL/CentOS, try

yum install readline-devel

然后 cd ../ext/readline

execue ruby extconf.rb

make && make install

分享到:
评论

相关推荐

    Ruby升级后no such file to load — readline解决办法

    /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...

    rails No route matches 错误的解决方法

    打开编辑, 找到如下行: # See how all your routes lay out with “rake routes” 在这行下面添加一行, 内容如下: map.connect ”,:controller=>”index”,:action=>”index”解决no such file to load — ...

    Rails Crash Course(No Starch, 2014)

    you'll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails's...

    Rails.Angular.Postgres.and.Bootstrap.2nd.Edition

    You should have some experience with basic Rails concepts and a cursory understanding of JavaScript, CSS, and SQL, but by no means need to be an expert. You'll learn how to install Postgres on your ...

    Rails.5.Revealed.For.those.Upgrading.to.Version.5

    This short early adopter book details both how you'll upgrade existing web and other applications from Rails 4.2 to 5 and how to create new applications in Rails 5. The headline features, Rails API ...

    Beginning Ruby on Rails

    You'll learn to build Rails applications, connect to databases, perform necessary testing, and put the whole thing together to create real-world applications such as shopping carts and online ...

    rails 5 test prescriptions build a healthy codebase

    With Rails examples, use testing to enable your code to respond better to future change. Plus, see how to handle real-world testing situations. This new edition has been updated to Rails 5.2 and ...

    [Rails] Crafting Rails Applications (英文版)

    This pioneering book is the first resource that deep dives into the new Rails 3 APIs and shows you how use them to write better web applications and make your day-to-day work with Rails more ...

    Rails 4 in Action(Manning,2015)

    In this fully revised new edition, you'll master Rails 4 by developing a ticket-tracking application that includes RESTful routing, authentication and authorization, file uploads, email, and more....

    Rails Recipes英文版(清晰文字pdf+源码)

    From the latest Ajax effects to time-saving automation tips for your development process, "Rails Recipes" will show you how the experts have already solved the problems you have. Use generators to ...

    Rails 5 Revealed(Apress,2016)

    This short early adopter book details both how you’ll upgrade existing web and other applications from Rails 4.2 to 5 and how to create new applications in Rails 5. The headline features, Rails API ...

    Bootstrap for Rails (2015)

    Summary 94 Chapter 6: Creating Navigation Bars 95 Getting started with a navigation bar 95 Navigation bar helper classes 102 Adding a navigation bar to the Rails application 103 Summary 105 Chapter 7:...

    [Rails] Crafting Rails 4 Applications (英文版)

    This second edition of the bestselling Crafting Rails Applications has been updated to Rails 4 and discusses new topics such as streaming, mountable engines, and thread safety. ☆ 出版信息:☆ [作者...

    Learning Rails.pdf

    While most books written about Rails cater to programmers looking for information on data structures, Learning Rails targets web developers whose programming experience is tied directly to the Web. ...

    Ruby on Rails Guides_ A Guide to Testing Rails Applications.pdf

    Ruby on Rails Guides_ A Guide to Testing Rails Applications.pdf

    Agile Web Development with Rails 4

    You concentrate on creating the application, and Rails takes care of the details., Tens of thousands of developers have used this award-winning book to learn Rails. It’s a broad, far-reaching ...

    Learning Rails 5(高清文字pdf版)

    If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide is the ideal way to get started. Rather than toss you into the middle of the framework’s Model-View-Controller...

    Head First Rails A Learner's Companion to Ruby on Railsa.pdf

    Head First Rails A Learner's Companion to Ruby on Railsa。 英文版的, 感觉非常不错,强烈推荐。

    Rails.Recipes(Rails.3.Edition,2012) 英文版PDF

    In addition, you’ll find half the book is stocked with new eye-opening solutions to such common problems as how to extend Rails, test and deploy your sites, or add a web service to your actions....

    Ajax on Rails

    Learn to build dynamic, interactive web applications using the two most important approaches to web development today: Ajax and the phenomenally efficient Ruby on Rails platform. This book teaches ...

Global site tag (gtag.js) - Google Analytics