如何安装旧版Jekyll?

时间:2022-08-24 07:26:37

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.

我想安装Jekyll 1.5.1版(在Mac上)。是否有可能做到这一点?我找到了一些能够降级的东西,但我发现很难相信没有办法安装旧版本。

Thanks!

谢谢!

2 个解决方案

#1


14  

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

您可以在Gemfile中指定确切的版本,如下所示:

gem 'jekyll', '1.5.1'

Or install a specific version from the command line:

或者从命令行安装特定版本:

gem install jekyll -v 1.5.1

#2


5  

You can mention the version you want to run.

您可以提及要运行的版本。

jekyll _2.4_ serve --watch

#1


14  

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

您可以在Gemfile中指定确切的版本,如下所示:

gem 'jekyll', '1.5.1'

Or install a specific version from the command line:

或者从命令行安装特定版本:

gem install jekyll -v 1.5.1

#2


5  

You can mention the version you want to run.

您可以提及要运行的版本。

jekyll _2.4_ serve --watch