yihui / servr

A simple HTTP server in R
https://cran.rstudio.com/package=servr
278 stars 35 forks source link

jekyll 3.1.6 | Error: No such file or directory @ rb_sysopen #30

Closed MarcinKosinski closed 8 years ago

MarcinKosinski commented 8 years ago

I have no idea whether it is more likely to be jekyll issue or jekyll on windows edition or yihui/servr itself but maybe you have faced this error message before and have somehow overworked it

> library(servr)
> servr::jekyll()
Configuration file: D:/MarcinKosinski.github.io/_config.yml
            Source: D:/MarcinKosinski.github.io
       Destination: D:/MarcinKosinski.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
jekyll 3.1.6 | Error:  No such file or directory @ rb_sysopen - /MarcinKosinski.github.io.Rproj
Error in jekyll_build() : Failed to run: jekyll build
In addition: Warning message:
running command 'jekyll build' had status 1 
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=Polish_Poland.1250  LC_CTYPE=Polish_Poland.1250   
[3] LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C                  
[5] LC_TIME=Polish_Poland.1250    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] servr_0.4

loaded via a namespace (and not attached):
[1] tools_3.3.1  Rcpp_0.12.5  httpuv_1.3.3

_config.yml

# Site settings

title: R Addict Blog #kosinski.r-addict.com # Title of your site
email: m.p.kosinski@gmail.com # Your contant email
name: "http://r-addict.com"

description: > # this means to ignore newlines until "baseurl:"
    I am an R addict with a biostatistical background, working in IT and keen on online recommendation. 
    I write about R Technologies, Survival Analysis and R Package Development.
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://r-addict.com" # the base hostname & protocol for your site
baseurlknitr: "/"

# Social links.
# Replace the word 'example' with your username if you want to include the icon in the left sidebar
# Delete the word 'example' if you don't want to include the icon in the left sidebar

twitter_username:     kosinski_rblog  # Replace this with your Twitter username
github_username:      MarcinKosinski  # Replace this with your GitHub username
linkedin_username:    marcin-kosiński-81435aab  # Replace this with your LinkedIn username
google_plus_username:  # 115677570336612137067  # Replace this with your Google+ username
facebook_username:    DataFortuneTelling  # Replace this with your Facebook username
dribbble_username:    # Replace this with your Dribbble username
stackoverflow_usernumber: 3857701 # stackoverflow user numer :) my own invention

# Build settings
markdown: kramdown
kramdown:
  input: GFM
  syntax_highlighter: rouge

highlighter: rouge

# Disqus comments:
disqus:           true
shortname:        r-addict

# Social Media
twitter:          true # add a twitter button to each post
facebook:         true # add a facebook share button to each post
linkedin:         true # my own button
googleplus:       true # my own button
facebooklike:     true # my own

author:
  name:           'Marcin Kosiński'
  email:          'm.p.kosinski@gmail.com'

gems:
  - jekyll-feed  
  - rouge

# Permalinks
permalink: /:year/:month/:day/:title.html

github:
  repo:           https://github.com/MarcinKosinski/MarcinKosinski.github.io

PS. Thanks for this great package. I was able to create my blog with this package :)

yihui commented 8 years ago

Sorry I have no clue about this.

MarcinKosinski commented 8 years ago

Ok so I'll stay on Ubuntu while using servr. Windows seems to be unsupported by jekyll creators