Locate the rbconfig.rb file in the ruby โโinstallation directory (example for my machine):
$ which ruby /home/valentin/.rvm/rubies/ruby-1.8.7-p352/bin/ruby $ find /home/valentin/.rvm/rubies/ruby-1.8.7-p352 -name rbconfig.rb /home/valentin/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/x86_64-linux/rbconfig.rb
This line changes the file
CONFIG["INSTALL"] = '/usr/bin/install -c'
to
CONFIG["INSTALL"] = '/bin/install -c'
(Or, the correct installation path, I had to change it back to /usr/bin , for example)
You might also want to update other paths.
Or you can just reinstall ruby.
source share