I got this error in my terminal when i type rails c: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- anurag@anurag-Compaq-Presario-CQ40-Notebook-PC:~/abcde$ rails c /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/completion.rb:9:in `require'': /home/anurag/.rvm/usr/lib/libreadline.so.6: undefined symbol: UP - /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/i686-linux/readline.so (LoadError) from /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/completion.rb:9:in `<top (required)>'' from /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in `require'' from /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in `<top (required)>'' from /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:38:in `require'' from /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:38:in `<top (required)>'' from script/rails:6:in `require'' from script/rails:6:in `<main>'' -------------------------------------------------------------------- Thanks & Regards Anurag Sachan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/8kJ83_g5y20J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I also use rvm pkg install readline but it did not help me On Friday, 2 March 2012 15:20:01 UTC+5:30, Anurag Sachan wrote:> > I got this error in my terminal when i type rails c: > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > anurag@anurag-Compaq-Presario-CQ40-Notebook-PC:~/abcde$ rails c > /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/completion.rb:9:in > `require'': /home/anurag/.rvm/usr/lib/libreadline.so.6: undefined symbol: UP > - > /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/i686-linux/readline.so > (LoadError) > from > /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/completion.rb:9:in > `<top (required)>'' > from > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in > `require'' > from > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in > `<top (required)>'' > from > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:38:in > `require'' > from > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:38:in > `<top (required)>'' > from script/rails:6:in `require'' > from script/rails:6:in `<main>'' > -------------------------------------------------------------------- > Thanks & Regards > Anurag Sachan >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/dyxsAHA_8h8J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I see you use linux, most distributions provide a valid build and headers for readline, please use quick fix instruction from top of this page: https://rvm.beginrescueend.com/packages/readline/ On Mar 2, 10:51 am, Anurag Sachan <anuragsacha...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I also use rvm pkg install readline but it did not help me > > > > > > > > On Friday, 2 March 2012 15:20:01 UTC+5:30, Anurag Sachan wrote: > > > I got this error in my terminal when i type rails c: > > > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > anurag@anurag-Compaq-Presario-CQ40-Notebook-PC:~/abcde$ rails c > > /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/completion.rb:9:in > > `require'': /home/anurag/.rvm/usr/lib/libreadline.so.6: undefined symbol: UP > > - > > /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/i686-linux/readline.so > > (LoadError) > > from > > /home/anurag/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/irb/completion.rb:9:in > > `<top (required)>'' > > from > > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in > > `require'' > > from > > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in > > `<top (required)>'' > > from > > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:38:in > > `require'' > > from > > /home/anurag/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:38:in > > `<top (required)>'' > > from script/rails:6:in `require'' > > from script/rails:6:in `<main>'' > > -------------------------------------------------------------------- > > Thanks & Regards > > Anurag Sachan-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.