Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running "make serve" to create local html lessons #477

Open
strajanoski opened this issue Jun 2, 2020 · 1 comment
Open

Running "make serve" to create local html lessons #477

strajanoski opened this issue Jun 2, 2020 · 1 comment

Comments

@strajanoski
Copy link

strajanoski commented Jun 2, 2020

Dear community,

as I was working on Issue #472 in the testing procedure I wanted to create html lessons out of the rmd files to check the output. I managed to setup everything (fork, clone, new branch, new ruby version, jeckyll etc.), but I get error message with jekyll serve (last step in the process) throwing following error message:
jekyll serve
Traceback (most recent call last):
4: from /Users/zaki/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in <main>' 3: from /Users/zaki/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in eval'
2: from /Users/zaki/.gem/ruby/2.7.0/bin/jekyll:23:in <main>' 1: from /Users/zaki/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems.rb:294:in activate_bin_path'
/Users/zaki/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/rubygems.rb:275:in `find_spec_for_exe': can't find gem jekyll (>= 0.a) with executable jekyll (Gem::GemNotFoundException)
make: *** [serve] Error 1
According to some forums the error arises when gem or bundle folder are missing, but I suppose I'm doing something wrong.
I'm using Mac OS Mojave 10.14.
Thank you very much in advance.

Regards,
Slave

@zkamvar
Copy link
Contributor

zkamvar commented Jun 2, 2020

Hi @strajanoski, if you have docker installed on your machine, you might want to give our docker container for lessons a try: https://github.com/carpentries/lesson-docker/#readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants