hostebooks.blogg.se

Install jekyll ubuntu 14.04
Install jekyll ubuntu 14.04







  1. #Install jekyll ubuntu 14.04 install#
  2. #Install jekyll ubuntu 14.04 update#

This gives me the impression that Ruby 1.8 (which is what my application needs) is installed.

install jekyll ubuntu 14.04

The output of which ruby is /usr/local/bin/ruby on Ubuntu 14.04 and /usr/bin/ruby on Ubuntu 12.04. The command ruby -v, outputs Ruby 1.8.7 ( patchlevel 358) as expected, this is the same output on another server running Ubuntu 12.04 where my application is working as expected. There is a lot more to learn over at the Jekyll Docs.I have successfully installed Ruby 1.8.7 on Ubuntu 14.04 by downloading the package, building locally and installing. Rejoice as you use the power of git to sync your site development across computers, collaborate on the site with others, peruse the change log, revert unwise changes, etc. Sip your beverage while you easily add posts, preview them using locally, and then simply commit and push to publish to your github page. Now you reap the benefits of your labors.

install jekyll ubuntu 14.04

#Install jekyll ubuntu 14.04 install#

Go ahead and grumble while you sudo apt-get install nodejs (seriously, you didn’t think you’d actually get out of here without upgrading ruby and installing NodeJS). You are finally done! Go ahead and run jekyll serve -watch and you can preview your site at locahost:4000.Īctually, just kidding, if you’re like me you got an error “Could not find a JavaScript runtime” and SUPRISE, you have to install one more thing :-P and then customiz the _config.yml and welcome post in the _posts directory. With Jekyll installed you can now run jekyll new.

  • GitHub to “Build a Jekyll blog in minutes, without touching the command line.” If you got this far you’re probably comfortable with the command line and reading the docs yourself so I suggest forging on and embracing the command line.įollow Using Jekyll with Pages - User Documentation - GitHub Help instructions:.
  • If you want a much easier quick-start process then head over to barryclark/jekyll-now.
  • Build A Blog With Jekyll And GitHub Pages.
  • Sure you could skip this but then you don’t get any help from a framework and you’re unable to easily preview your changes easily before committing them to github. Okay so let’s face it: your site needs some work!Įnter Jekyll which “is a blog-aware, static site generator” and as such will hopefully make your life easier and more convenient.
  • Commit and push to publish your changes to your new site which can be accessed at Ĭongratulations you now have now created yet another lame blog! 3 - Install and configure Jekyll.
  • Immediately start hacking out a basic index.html file.
  • On your local system you can now clone the new repo with: git clone.
  • gitignore files for you so you don’t have to add them later. You should probably follow convention and go ahead and allow github to create the standard LICENSE.md, README.md, and. Replace USERNAME in the below instructions with your actual github username. You’ll need to follow these github pages setup instructions to create your github site repository for your username (add license, README, etc). See: Failed to build gem native extension In my case: I had originally installed ruby-dev before I realized that the default ruby 1.9 wasn’t adequate so I had to go back and remove ruby-dev and install the correct version to match my ruby (ruby2.2-dev in my case).

    install jekyll ubuntu 14.04 install jekyll ubuntu 14.04

    Then you don’t have the right ruby-dev version installed. Oh joy: immediate dependency hell… shrug better get used to it!ĮRROR: Failed to build gem native extension Hopefully you know some markdown but don’t worry, you’ll pick it up (I’m currently barely proficient with it which is fine).įirst of all, Ubuntu 14.04 comes with ruby 1.9 which isn’t supported (anymore) by jekyll. I’m running Ubuntu 14.04 at the moment so these instructions are specific to that but this stuff is pretty platform agnostic. You just want a simple way to hack out some notes and stuff in your favorite editor and post it easily for posterity. Okay so let’s say you are like me and you want to create a bloggy site and you’re tired of WordPress or whatever. If this doesn’t sound easy to you then you should probably use a different blogging platform or site-builder 1 - Prerequisites: urgent need for blogging, ruby >= 2.0, github account (free), beverage of choice Use git to add, commit, and push your changes.Create/edit a file in your favorite editor.

    #Install jekyll ubuntu 14.04 update#

    Once you get the below setup you will be able to update your website with the following easy steps:









    Install jekyll ubuntu 14.04