retmentor.blogg.se

Sudo gem install jekyll
Sudo gem install jekyll













sudo gem install jekyll

You can also run “jekyll build -watch” for Jekyll to automatically rebuild. > cd PATH/TO/JEKYLL/PROJECT > jekyll build -safe # This is how Github will build your page > gem install > jekyll serve

SUDO GEM INSTALL JEKYLL DOWNLOAD

To test Jekyll, you can download an example project from. Test if you have all of Jekyll’s necessary dependencies. You can given another name of your choice. The below given command create the directory called wpcademyblog.

sudo gem install jekyll

Now we are ready to create the blog and run the server. Create blog and up the server using Jekyll. > sudo apt-get install rubygems2.3 > # Install Jekyll > gem install Jekyll Install Jekyll package using gem: gem install jekyll We can test Jekyll is working by checking the version installed: jekyll -v Step 4. > # Install RubyGem, Ruby’s package manager. > ruby -version > sudo apt-get install ruby2.3 > sudo apt-get install ruby2.3-dev I recommend version 2.3 as the latest stable build. If your version of Ruby is below 2.0, you will have to bump it. Next, check which version of Ruby you currently have. I am able to install Bundler by itself but when I ran sudo gem install jekyll bundler it. If you already have Ruby installed through RVM, run: `rvm use system`. I am using the stock Raspbian installed with the NOOBS tool. Remove all unwanted copies of Ruby, if desired. 14.04.5.įirst, check if you have multiple versions of Ruby installed. You may save yourself some time (ahem, many hours) by following what I found to work. sudoers secure_paths, default version, etc.). Your other alternative is to use RVM (the Ruby version manager) to install everything, but Ubuntu is very stubborn with its system version of Ruby so you may run into issues pursuing other routes (e.g. This guide will walk you through the steps to set up Ruby, gems, and Jekyll using apt-get as the package manager.















Sudo gem install jekyll