ruby - Error installing RubyGems on Linux -


i getting error installing rubygems on linux shown below:

[redmine@mail rubygems-2.6.12]$ pwd /binaries/rubygems-2.6.12 [redmine@mail rubygems-2.6.12]$ sudo ruby setup.rb [sudo] password redmine: <internal:gem_prelude>:4:in `require': cannot load such file -- rubygems.rb (loaderror)         <internal:gem_prelude>:4:in `<internal:gem_prelude>' 

below ruby details.

[redmine@mail rubygems-2.6.12]$ ruby -v ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] [redmine@mail rubygems-2.6.12]$ ruby /usr/sbin/ruby 

i following document installation: http://www.redmine.org/projects/redmine/wiki/redmine_on_centos_installation_howto#check-installation

need troubleshoot error.

i assume have used option 1 install ruby , installed ruby 1.8.7, right? never had install rubygems seperately, , not when using 1.9 or 2.* version of ruby. why don't use higher version of ruby and/or skip whole installing of rubygems?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -