From: Chad Perrin Date: 2011-09-17T02:42:42+09:00 Subject: Re: RVM + 1.9.3pre == broken readline --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2011 at 10:55:03AM +0900, brabuhr@gmail.com wrote: > On Thu, Sep 15, 2011 at 3:03 PM, Chad Perrin wrote: > > I have not been able to get readline working with the 1.9.3 preview usi= ng > > RVM. > > > > I did, by the way, try following the instructions at the referenced URI > > (replacing "1.9.2" with "ruby-1.9.3-preview1"). =A0No dice. =A0Any > > suggestions on how to resolve this problem would be appreciated. >=20 > $ uname -a > Darwin Mac-mini.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 > 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 Linux hemlock 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux >=20 > $ rvm get latest > $ rvm reload > $ rvm pkg install readline > (skipping remove since I haven't installed 1.9.3 at all yet) > $ rvm install 1.9.3-preview1 --with-readline-dir=3D$rvm_path/usr > $ rvm use 1.9.3-preview1 >=20 > $ ruby -v -e "p require 'readline'" > ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-darwin10.8.0] > true >=20 > And it seems to be working in irb. Can you tell us more about your host? Just for completeness' sake, (and because I hope it works this time, for some reason -- or maybe because I'm a glutton for punishment) I'll do it all again: $ rvm get latest Original installed RVM version: rvm 1.8.3 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/] You already have the latest version! $ rvm reload RVM reloaded! $ rvm pkg remove readline (elided output) $ rvm pkg install readline (elided output) $ rvm remove ruby-1.9.3-preview1 (elided output) $ rvm install 1.9.3-preview1 --with-readline-dir=3D$rvm_path/usr (elided output) $ rvm use 1.9.3-preview1 Using /home/user/.rvm/gems/ruby-1.9.3-preview1 $ ruby -v -e "p require 'readline'" ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-linux] /home/user/.rvm/rubies/ruby-1.9.3-preview1/lib/ruby/site_ruby/1.9.1/rub= ygems/custom_require.rb:36:in `require': cannot load such file -- readline = (LoadError) from /home/user/.rvm/rubies/ruby-1.9.3-preview1/lib/ruby/site_r= uby/1.9.1/rubygems/custom_require.rb:36:in `require' from -e:1:in `
' Elided output is here (plus the require 'readline' output): http://pastebin.com/F1VCWEaZ --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk5ziocACgkQ9mn/Pj01uKWm9gCguaPmNsUp/TGRBQfUElAbflVA cBIAn3CuqxG0rJ01iWaAqmGG5VYUA0pJ =2KzP -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--