title: LoadError: libncursesw.so.5: cannot open shared object file: No such file or directory
body: <p>I'm using <strong>Ruby 2.2.2</strong> with <strong>Rails 4.2</strong>
  when i try to run any rake task i have this error message
  why is that? and what can i do?</p>
  
  <ul>
  <li>Ruby 2.2.2</li>
  <li>Rails 4.2</li>
  <li>rbenv</li>
  <li>Arch Linux</li>
  <li>PostgreSQL database</li>
  </ul>
  
  <p><strong>error message</strong></p>
  
  <p><code>rake aborted!
  LoadError: libncursesw.so.5: cannot open shared object file: No such file or directory - /home/adham/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `require'
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `each'
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `block in require'
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `each'
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `require'
  /home/adham/.gem/ruby/2.2.0/gems/bundler-1.10.6/lib/bundler.rb:134:in `require'
  /home/code/kahareb/config/application.rb:7:in `&lt;top (required)&gt;'
  /home/code/kahareb/Rakefile:4:in `&lt;top (required)&gt;'
  (See full trace by running task with --trace)
  </code></p>