Fixed install script to get npm packages in travis and to have the correct ruby version