


If you are interested to start a blog of your own, you can directly clone this repository from github and add text in markdown (.md) files under _posts folder. My blog uses tale theme which inturn uses jekyll gem.

The above comparision is taken from this source My Blog - Tale theme Ruby is used widely for websites such as Airbnb, Hulu, Kickstarter, twitter, basecamp and Github Python is used for websites such as Google, YouTube, Spotify, and Quora. Ruby also comes with similar features -rbenv or rvm Python’s virtualenv lets developers isolate different versions of the python interpreter
#UPDATE PACKAGES RUBY JEKYLL CODE#
Pythonĭue to python’s straightforward and simple syntax, most freshers opt for it.įor a beginner, Ruby can be slightly challenging, as the language usually takes much getting used toĪs for Python, you’ll find a plethora of ready-to-use code or “modules” that are easily accessible via PyPIĪlthough Ruby, too, has same number of ready-to-use code called Gems, the difference between Ruby and Python reusable code lies in the filtering factor Both are dynamically typed, which means you do not need to declare the type of variable before using it. Both are scripting, server-side, cross-platform and general purpose programming languages.

These both languages are opensource and are object-oriented programming languages. This time I thought to write my research on how exactly this blog is built and the dependences to run this blog.
#UPDATE PACKAGES RUBY JEKYLL HOW TO#
I frequently forget the things on how to install dependencies effeciently to update my blog and check how my blog looks before it goes to public. Everytime I change my laptop I have to install existing dependencies to run my current blog. I took help of my friend to create this blog. As an avid python programmer I know nothing about the ruby programming language. I honestly just use this last command exclusively, defined as an alias in my. Just prepend bundle exec as it suggests, and you’ll be fine: bundle exec jekyll serve -watch Prepending `bundle exec` to your command may solve this. You have already activated public_suffix 3.0.3, but your Gemfile requires public_suffix 2.0.5. Some Jekyll templates/websites will give you an error similar to the following one: Traceback (most recent call last): To build your website and run it locally (useful for testing and making sure everything works), just run: jekyll serve -watch Then you just open a terminal on your template’s root folder ( ) and execute bundle: cd To install these automatically, you need bundle: gem install bundle Most Jekyll templates come with a Gemfile that specifies which plugins/packages are needed. Install bundle and jekyll theme dependencies Then you can simply install Jekyll using Gem, Ruby’s the package manager: gem install jekyll The first step to get Jekyll on your system is to install Ruby: sudo pacman -S ruby ruby-rdoc -needed You should never edit any file on this folder. The resulting static website is built on the _site folder. When you run Jekyll on the terminal, it puts all the smaller files and reads the configuration file to decide which parts to include. These small files are usually in markdown format, so it’s really straightforward to edit them without messing things up and just focusing on the content (e.g., posts in a blog). Jekyll is a framework that takes different, easy to read/format, small files and builds a static website for you.
