On Mar 3, 1:44 pm, Scott L Gu <scott...@gmail.com> wrote:
> Thanks, Frederick, it works. I can go one step further now.
>
> However, I still have a problem with "rails console":      `require':
> no such file to load -- readline (LoadError)
>
> I saw some solution to do :    yum install ncurses-devel readline-
> devel
>
> I did it. However, the next steps should be :
>
> cd <ruby_src>/ext/readline
> ruby extconf.rb
> make && make install
>
> But I cannot find ext/readline in my ruby directory: /home/ec2-
> user/.rvm/rubies/ruby-1.9.2-p180/
> and don't know where this extconf.rb should be :-)
>

it will be where the source code for ruby is. Seeing as you are using
rvm, the easiest thing is probably to ask rvm to reinstall ruby for
you - it should build the readline extension automatically now that
the readline development package is installed.

Fred

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to