- #Gem install jekyll on windows how to
- #Gem install jekyll on windows install
- #Gem install jekyll on windows update
- #Gem install jekyll on windows code
- #Gem install jekyll on windows mac
Open the folder properties and in the advanced section, uncheck “compression”. To remove the compression, go to: C:\Users\YourUsername\AppData\Local\PackagesĪnd look for a folder with ubuntu on its name, like this:ĭo you see those two opposing blue arrows? that’s the sign that compression is enabled. This can happen when the folder where the virtual disks are stored is compressed. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse. When you start the distribution, you may get this error: WslRegisterDistribution failed with error: 0xc03a001aĮrror: 0xc03a001a The requested operation could not be completed due to a virtual disk system limitation. Open the Microsoft Store and select your favorite Linux distribution. Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution: wsl -set-default-version 2
#Gem install jekyll on windows update
Open PowerShell as Administrator and run: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartĭownload the latest package of WSL2 Linux kernel update package for 圆4 machines: Then, enable the Virtual Machine Platform optional feature. To do so, open PowerShell as Administrator and run: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Enable the Windows Subsystem for Linuxįirst of all, we need to have the Windows Subsystem for Linux.
#Gem install jekyll on windows how to
This is not usually a problem, since in most of the situations the preview capabilities of the editor are enough, but there are times when we may need to see the website as it will be once published, for example when we need to create the menu structure.īut there is a way to compile our Jekyll sites locally, and thanks to some tips from my colleague Chris Arceneaux, I learned how to do it on my Windows 10 laptop.
#Gem install jekyll on windows code
However, one part that is missing in any local editor, Atom or Visual Studio Code or anything else, is the capability to show the content in the so-called wysiwyg (“what you see is what you get”) way. Thanks to our Git repository, we can focus on our content, share it among our peers and have it published easily without worrying about learning any web technology. Many of the websites I contribute to, like the Veeam best practices or the Cloud Connect book, use a combination of Markdown for the content creation and Jekyll for the web publishing. Unfortunately, the Command Prompt doesn’t allow you to easily copy and paste the URL, so you’ll have to type it manually.Īfter making an edit, Jekyll auto-rebuilds the site.0 Flares Twitter 0 Facebook 0 LinkedIn 0 Email - 0 Flares × (Make sure you include the / at the end.) Go to the preview address in the browser. The Git Bash client will allow you to run shell scripts and execute other Unix commands. At this time, Bundle also takes a snapshot of all the gems used in your project and creates a Gemfile.lock file to store this information.Īlthough you can use the default command prompt with Windows, it’s recommended that you use Git Bash instead.
#Gem install jekyll on windows mac
This gem is needed for Windows users, not Mac users.īundle retrieves all the needed gems and gem dependencies and downloads them to your computer. The wdm gem allows for the polling of the directory and rebuilding of the Jekyll site when you make changes. You may need to use your File Explorer and browse to the directory, and then open the Gemfile in a text editor such as Notepad. Typically you can open files from the Command Prompt by just typing the filename, but because Gemfile doesn’t have a file extension, no program will automatically open it.
#Gem install jekyll on windows install
You install Bundler by using the gem command with RubyGems: Install Bundler You can use it to get all the gems (or Ruby plugins) that you need for your Jekyll project. (Although you don’t need to install Bundler for this Documentation theme, it’s a good idea to do so.)īundler is a package manager for RubyGems. You can install these dependencies through Bundler. These dependencies are stored in something called a Gemfile, which is packaged with the Jekyll theme. Some Jekyll themes will require certain Ruby gem dependencies. You can now use Jekyll to create new Jekyll sites following the quick-start instructions on.