-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Installation Instructions 2.0 on Windows
Darrell edited this page May 28, 2015
·
8 revisions
The current installation instructions here: http://octopress.org/docs/setup/ don't quite work for a fresh install on windows machines. You will hit all sorts of time consuming error messages.
So below is the installation procedure that works for Windows!
-
Install Git - make sure you choose the option to add Git to
Path
-
Install Ruby 1.9.3 - make sure you choose the option to add Ruby to
Path
- Open up a
Command Prompt
and execute the following:SET HOME=%USERPROFILE%
You next need to get an historic version of Ruby Gems installed (v2.3.0) The latest version of Ruby Gems at the time of writing is version 2.4.7 which doesn't work on windows.
So you need to do this:
- Install the latest version of RubyGems
- download it from the link above and extract it to a permanent location.
- open a command prompt,
cd
to that directory - type
ruby setup.rb
and hit enter.
- Downgrade the version of RubyGems to version 2.3.0.
- open a command prompt
- type
gem update --system 2.3.0
and hit enter.
You next need to install the Ruby Build tools
- Download DevKit-tdm-32-4.5.2 from here
- Extract it to somewhere permanant
- open a command prompt
- cd to that directory
- type
ruby dk.rb init
and hit enter - type
ruby dk.rb install
and hit enter
You can now proceed with setting up OctoPress, from the command prompt:
git clone git://github.com/imathis/octopress.git octopress
cd octopress
gem install bundler
bundle install