相关疑难解决方法(0)

如何运行“bundle exec jekyll new”。

我正在尝试遵循“使用 Jekyll 创建 GitHub 页面站点”,但是当我运行以下任何命令时:

$ bundle exec jekyll VERSION new .
$ bundle exec jekyll _4.0.0_ new .
$ bundle exec jekyll 4.0.0 new .
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

"Could not locate Gemfile or .bundle/ directory"
Run Code Online (Sandbox Code Playgroud)

我查看了几个与此错误消息相关的 SO 帖子,但似乎没有一个可以解决我的问题。也许我错过了什么?

一些相关细节:

$ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
$ jekyll -v
jekyll 4.0.0
$ type rvm | head -n 1
rvm is a function
$  lsb_release -a
LSB Version:    core-11.0.1ubuntu1-noarch:printing-11.0.1ubuntu1-noarch:security-11.0.1ubuntu1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:    19.10
Codename: …
Run Code Online (Sandbox Code Playgroud)

ruby bundler jekyll rvm gemfile

16
推荐指数
1
解决办法
1928
查看次数

标签 统计

bundler ×1

gemfile ×1

jekyll ×1

ruby ×1

rvm ×1