no checking for readline() in -ledit... If you are on CentOS/Redhat/Fedora Linux, install the package using: sudo yum install readline-devel Or, on Ubuntu, use: sudo apt-get install libreadline6 libreadline6-dev and then recompile Ruby. thanks –shivam Dec 5 '14 at 7:10 nice, a +1 for you hehe –xploshioOn Dec 5 '14 at 7:15 add a comment| Your Answer draft saved draft discarded Firstly, I refetched the readline lib sudo apt-get install libreadline-dev Then I uninstalled ruby rvm remove 2.1.1 I installed ruby again rvm install 2.1.1 I told RVM to use the default http://culturahq.com/cannot-load/cannot-load-such-file-readline-1-9-3.html
Is Area of a circle always irrational Developer does not see priority in git Development Workflow being followed Product catalog Ballpark salary equivalent today of "healthcare benefits" in the US? It giving me the following error: Running via Spring preloader in process 4267 /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- readline (LoadError) from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require' from /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency' from After installing readline-devel, you need to build ruby again. –Stéphan Kochen Oct 28 '11 at 16:33 add a comment| up vote 31 down vote You need to install the ncurses and How do pilots identify the taxi path to the runway? Get More Information
The cost of switching to electric cars? Can I hint the optimizer by giving the range of an integer? The second one is to install rb-readline, either by putting it in your Gemfile or by installing it globally (not recommended as you may switch to different Ruby version and have Compare elements iteratively Is it ethical for a journal to cancel an accepted review request when they have obtained sufficient number of reviews to make a decision?
after archdir = $(rubyarchdir). Underbrace under nested square roots Count trailing truths Advisor professor asks for my dissertation research source-code Antonym for Nourish Do Morpheus and his crew kill potential Ones? i am waiting from a long time and trying other things doesnt making to work WPScan member ethicalhack3r commented Apr 5, 2016 Run the suggested command in the output: gpg --keyserver Rvm The OK or FAIL column Adverb for "syntax" Strength check between medium size and large size On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor
Subscribed! share|improve this answer edited Apr 2 '13 at 16:10 j_mcnally 5,03411139 answered Apr 1 '13 at 21:36 johnkoht 517511 Thanks for responding Stuart and John. What's the output of which rails? –Stuart M Apr 1 '13 at 21:34 Thanks Stuart for reply. and s.contains_requirable_file?
For me, I followed the homebrew section. –Brian Rosedale Sep 26 '14 at 1:35 add a comment| 4 Answers 4 active oldest votes up vote 9 down vote Try putting rb-readline http://stackoverflow.com/questions/27310020/rails-console-require-cannot-load-such-file That's what we did before we had bundler. Rb-readline The top answer is actually two answers merged into one. Require Cannot Load Such File Loaderror The cost of switching to electric cars?
How to truncate them form defined ones?0Rails 3 Rails Console Test.new doesn't work0rails generate ckeditor:install could not load generator2rails console (`require': cannot load such file) Hot Network Questions How to show I changed one method signature and broke 25,000 other classes. pavan4information commented Mar 23, 2016 ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/local/lib/ruby/gems/2.3.0 directory. The output I get is Requirements for Linux ( DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS" ) NOTE: ‘ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X) This is the *original* / Ruby Readline
You need to learn how to debug problems by yourself, starting by reading error output. 👍 1 ethicalhack3r closed this Apr 5, 2016 pavan4information commented Apr 5, 2016 Thanks for I answered below. –polarcare Apr 1 '13 at 22:02 add a comment| 1 Answer 1 active oldest votes up vote 11 down vote accepted You need to have the readline libraries Ballpark salary equivalent today of "healthcare benefits" in the US? weblink Why does low frequency RFID have a short read range?
Why does low frequency RFID have a short read range? rb-readlineをgemで追加 エラーを解消するために、rb-readline をインストールします。 Gemfile に rb-readline を追記し、bundle install でインストール Gemfile 追加記述 gem 'rb-readline' インストール実行 $ bundle install 実行結果 Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Using mona is not in the sudoers file.
How safe is 48V DC? Does it give an error? Very much people seem to have encountered problems with this gem. Not the answer you're looking for?
rvm update --head # older rvm or use rvm upgrade share|improve this answer edited Jan 17 '12 at 9:29 answered Jan 10 '12 at 6:18 Sayuj 3,075114162 Thanks, Sayuj. We recommend upgrading to the latest Safari, Google Chrome, or Firefox. It was a conjunction of several issues (gem versions, conflicting readline libraries). check over here You should get requirements - Shows additional OS specific dependencies/requirementes for building various rubies. –Sayuj Jan 11 '12 at 20:24 what is the result of rvm -v –Sayuj Jan
Did you manually build your Ruby install? Please try to add it. It's potentially faster but adds another C dependency to your Ruby and has it's own set of disadvantages (for example you cannot be sure your linux distribution ships with GNU readline Join them; it only takes a minute: Sign up rails console require cannot load such file readline up vote 3 down vote favorite I am new to Ruby on Rails, and
On Debian/Ubuntu: apt-get install libreadline-dev Or on RHEL/CentOS, try yum install readline-devel Update: You are using a very old release of Ubuntu. 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. Is Area of a circle always irrational Product catalog Underbrace under nested square roots Would we find alien music meaningful? Browse other questions tagged ruby-on-rails ruby ruby-on-rails-4 or ask your own question.
Why are password boxes always blanked out when other sensitive data isn't? Resolving dependencies... Try reinstall rvm. asked 4 years ago viewed 51005 times active 6 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Visit Chat Linked 8 Rails console: in `require': cannot load such
Antonym for Nourish Should I create multiple maintenance plans to backup more than 200 User databases Underbrace under nested square roots Converting the weight of a potato into a letter grade The final choice is of course yours but if you're running multiple projects or multiple Ruby versions on the same machine, I'd go with installing libreadline-dev or whatever your distribution requires, Why is Professor Lewin correct regarding dimensional analysis, and I'm not? Count trailing truths Why there are no approximation algorithms for SAT and other decision problems?