New answers tagged ruby
It is possible that PATH still contains the old ruby location (/usr/bin/env). Try appending your new ruby bin before $PATH. Like follows: export PATH=/new_bin/:$PATH If another ruby bin path is before the new one, it will be of higher priority in PATH.
In all currently supported version of Ubuntu (including Ubuntu 14.04), open the terminal and type: sudo apt-get install ruby-dev This package contains the header files and the mkmf library, necessary to make an extension library for Ruby. It is also required to build many gems. Source: ...
I got this error because my site hadn't built properly. Check to see if there's an index.html in the _site
TL;DR - use bash only for installing a better language (if it isn't already available), otherwise you're wasting unrecoverable, precious human time. If you can't do it on the command line by hand without mistakes, don't script with bash/shell. It's 2015, so I'd consider the following: memory overhead Ruby/Python runtime memory overhead compared to bash ...
Top 50 recent answers are included