16

I'd like to install Jekyll version 1.5.1 (on a Mac). Is it possible to do this? I found something about being able to downgrade, but I find it hard to believe there is no way just to install an older version.

Thanks!

intA
  • 2,513
  • 12
  • 41
  • 66

2 Answers2

25

You can specify the exact version in your Gemfile like this:

gem 'jekyll', '1.5.1'

Or install a specific version from the command line:

gem install jekyll -v 1.5.1
Sam Starling
  • 5,298
  • 3
  • 35
  • 52
  • Cool. This is probably another issue all together but when I run that second command I get an error "ERROR: Failed to build gem native extension." Here's a screenshot http://i.imgur.com/7resg4F.png – intA Jun 14 '14 at 19:42
  • Don't believe so. First time with a OSX! I'll install that now – intA Jun 14 '14 at 19:45
  • You may also need to run `bundle update jekyll` if you use bundle and has it locked to an never version. – Jonas Sandstedt Aug 30 '17 at 06:55
7

You can mention the version you want to run.

jekyll _2.4_ serve --watch
Lasithds
  • 2,161
  • 25
  • 39