以下是要求的确切步骤:
Ruby
。Jekyll
和Bundler
Jekyll -v
和Bundler -v
正确安装Jekyll 3.8.4
,捆绑程序的版本为Bundler 1.16.6
Jekyll build
和Jekyll serve
,但收到错误消息:
Configuration file: none
答案 0 :(得分:0)
您错过了一步,但是也不要在项目名称中使用空格,并且不需要在命令或路径名上使用大写字母
someDictionary = {'1': 33, '2': 44, '3': 55, '4': 10, '5': 66, '6': 60}
someList = [51, 52, 53, 54, 55, 56]
myAnswer = [key for key in someDictionary if someDictionary[key] in someList]
if not myAnswer:
diffs = {dict_key: dict_value-someList[-1]
for dict_key, dict_value in someDictionary.items()
if dict_value-someList[-1] > 0}
myAnswer = [min(diffs, key=diffs.get)] # Key of value with minimum
# (positive) difference
print(myAnswer)
这时您的命令应该可以正常工作
# this command will create a new project in a new relative folder
jekyll new healthcare-transition-toolkit
# then you need to cd into that folder
cd healthcare-transition-toolkit
或
bundle exec jekyll serve