Installing Jekyll on Ubuntu 14.04

后端 未结 2 1961
予麋鹿
予麋鹿 2020-12-05 16:40

I\'ve been having some issues installing Jekyll on Ubuntu. Here are some of the versions I have:

trevor~$ ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155)          


        
2条回答
  •  情歌与酒
    2020-12-05 17:00

    I did try installing a couple different versions. Would this cause a
    problem?

    No

    Follow the given step would help.

    1: gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

    2: \curl -sSL https://get.rvm.io | bash # install RVM (development version)

    3: rvm get head # Make Sure RVM up to date

    4: rvm install ruby # will install latest version of ruby

    5: rvm list # Listing install rubies will you get versions of ruby which is installed by RVM

    6: rvm use < ruby-version > # for instances ruby-1.9.3-p125

    7: gem install jekyll

    Edit Update As you edited answer in your senerio

    trevor~$ rvm list
    
    rvm rubies
    
       ruby-2.0.0-p643 [ x86_64 ]
       ruby-2.2.1 [ x86_64 ]
    =* ruby-2.2.4 [ x86_64 ]
    

    rvm use 2.2.1
    gem install jekyll
    

    Would work !!!

提交回复
热议问题