Rails Console Cannot Load Such File Readline Windows
How to reply? thanks –Deepender Singla Dec 10 '14 at 4:21 After some back and forth, I got it working by running gem uninstall rb-readline and then using only gem 'rb-readline' in no checking for tgetnum() in -lcurses... Are there still systems around with a /bin/sh binary? have a peek at this web-site
See below. $ /opt/ruby/2/lib/ruby/gems/bin/bundle install /opt/ruby/2.0.0-preview2/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- rubygems/format (LoadError) /opt/ruby/2.0.0-preview2/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' /opt/ruby/2.0.0-preview2/lib/ruby/gems/gems/bundler-1.2.3/lib/bundler/source.rb:5:in `
Completion.rb:9:in `require': Cannot Load Such File -- Readline (loaderror)
Had very little time today, could not do it any earlier. I would assume there is also usually no need to explicitly define rb-readline in the Gemfile and bundle it. (????) With a plain skeleton rails application you get the following: $ Should I allow my child to make an alternate meal if they do not like anything served at mealtime? no checking for tgetnum() in -ltermcap...
I had some difficulty on getting the sqlite3 gem to work. Not the answer you're looking for? Why is looping over find's output bad practice? Ruby Readline Also rails c is ok.
Either way, my maybe naive understanding is, this ought to work out of the box. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. All this is not a major issue for me, since I meanwhile learned to love pry over irb anyway. So this proves with Ruby 2.0.0 using GNU readline it works with no sweat.
Rails c also O.K. Will post the outcome either tonight but more likely tomorrow. Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. That was 3 years ago.
So my recipe would be: –pisaruk Mar 19 '12 at 16:28 This works perfectly well, and I would really recommend using rvm or other equivalent. –Goles Apr 13 '12 What is this line of counties voting for the Democratic party in the 2016 elections? Completion.rb:9:in `require': Cannot Load Such File -- Readline (loaderror) Polyglot Anagrams Robbers' Thread What crime would be illegal to uncover in medieval Europe? Rails Require Cannot Load Such File Reload to refresh your session.
share|improve this answer answered Sep 8 '12 at 21:21 Lasse Dahl Ebert 1,94711722 This answer should be marked as the correct one, @only-bolivan-here. –jackyalcine Sep 24 '12 at 14:28 http://stevemattley.com/cannot-load/rails-cannot-load-helper.html Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 157 Star 3,598 Fork 1,669 bundler/bundler Code Issues 195 Pull requests 30 Projects Also agreed, that there is usually no need to put it additionally into the Gemfile and bundle it. Should I report it? Require Cannot Load Such File Loaderror
Rails 4.0.0.rc1, Ruby2.0.0 the problem does not exist. Downgrading to 0.4.2 fixes it but ruby 2.0 console works bad with 0.4.2 version and fails when I'm trying to scroll history with arrow keys (Invalid byte sequence in block _rl_dispatch_subseq). share|improve this answer edited Sep 22 '13 at 5:35 marikhu 255 answered Aug 7 '13 at 8:51 Deepender Singla 754721 Thanks for the answer. Source What do I do?
I get something similar to: $ rails console /home/tobias/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/irb/completion.rb:9:in `require': no such file to load -- readline (LoadError) from /home/tobias/.rvm/rubies/ruby-1.9.2-p18080/lib/ruby/1.9.1/irb/completion.rb:9:in `
yes checking for readline/history.h...
I chose to rebuild the whole box with a clean Ubuntu image, since I scripted the whole setup with Sprinkle. How to delete the lines from a file that do not contain dot? This causes Ruby to be compiled with C readline support. Boss sends a birthday message.
I will send you an email about the other stuff off-site. Reload to refresh your session. Ubuntu 12.10, Ruby 2.0.0 installed via rvm. –Alptigin Jalayr Mar 18 '13 at 11:59 thanks! http://stevemattley.com/cannot-load/rails-cannot-load-such-file-helper.html Maybe I have a fundamental misunderstanding of how to use rb-readline.
You signed in with another tab or window. Join them; it only takes a minute: Sign up Ruby 1.9.2 and Rails 3 cannot open rails console up vote 48 down vote favorite 10 [[email protected] myApplication]$ rails console /usr/local/lib/ruby/1.9.1/irb/completion.rb:9:in `require': up vote 6 down vote favorite 2 I am new to Ruby on Rails, and am using RVM to manage Ruby versions. I just did a plain ruby install from rvm and it was all good.
Should I report it? Linked 38 no such file to load — readline 6 What is wrong with readline? 0 Rails console is not working - rails c Related 1Cannot load Ruby EventMachine in Rails Which word should I use for "to drive (a car)"? Where is it going wrong in the above examples?
Ruby 2.0.0? $ find /opt/ruby/1.9.3-p194 | grep rubygems/format /opt/ruby/1.9.3-p194/lib/ruby/1.9.1/rubygems/format.rb /opt/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-update-1.8.24/lib/rubygems/format.rb /opt/ruby/1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/format.rb $ find /opt/ruby/2.0.0-preview2 | grep rubygems/format (nothing found) My setup: $ ruby -v ruby 2.0.0dev (2012-12-01 trunk 38126) [x86_64-linux] $ But it somehow adds to the impression that the ruby 2.0.0 – rails 4.0.0 combo is still far away from serious usability. What is this line of counties voting for the Democratic party in the 2016 elections? asked 4 years ago viewed 51044 times active 6 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Get the weekly newsletter!
Like to put it into .irbrc ?? share|improve this answer answered Sep 7 '11 at 16:45 Jason Malcolm 611 add a comment| up vote 0 down vote $ rvm uninstall 1.8.7 $ rvm package install readline $ rvm Not the answer you're looking for? skutondo commented Oct 22, 2015 Here is my error with El Capitan: rails server /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- bundler/setup (LoadError)
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /Users/Sam_k/mynewapp/config/boot.rb:3:in
Join them; it only takes a minute: Sign up cannot load such file — readline (LoadError) when running heroku create --stack cedar up vote 27 down vote favorite 9 I'm trying What now? Browse other questions tagged ruby-on-rails ruby console readline or ask your own question. magento 2: How to use the order by and limit clause in sql query Someone peeled an American flag sticker off of my truck.
To install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head), then you must install and use rvm 1.8.7 first. Which word should I use for "to drive (a car)"?