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
Setup: Improve Ruby/Jekyll instructions #260
Comments
Hi Gerard,
Thanks for spotting this. Have you tried installing
No, you wouldn't have to install The only reason I suggested using |
Thanks Maxim. Installing However, the
So then i did
So I abandoned that and installed jekyll as before using ruby 2.5.1.
I would suggest checking these installation instructions for the OS covered. If it's important to use the same version of Ruby as GitHub, the instructions should cover how to do this. However I've not yet encountered a problem using a different version of Ruby. If the instructions are incomplete, or incorrect, contributors will have to be very determined to resolve problems on their own, and simply won't preview their changes. |
What does ruby-build --definitions | grep '^2\.' I work on a Mac but $ docker exec lb bash -c 'ruby-build --definitions | grep "^2\.5"'
2.5.0-dev
2.5.0-preview1
2.5.0-rc1
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5 I know it is not helpful but this discrepancy means that we ought to provide instructions on how to install
They have been checked and the challenges that we face here are typical for package managers that attempt to support multiple Linux distributions or operating systems.
I believe using the same version of Ruby is rather desirable than critical. As such, we could modify the instructions to ask to try to install Ruby that GitHub has but, if something fails, install any (newer) version.
True. I'd only say that instructions are neither incomplete nor incorrect -- at the moment they are not comprehensive enough. BTW, you could use Docker for your skill-up workshop. |
I'll look in to Docker - I've no experience with it so this would add quite a lot of effort to the process. |
Yes, for some reason your mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build (taken from here) |
http://carpentries.github.io/lesson-example/setup.html#optional-jekyll-setup-for-lesson-development
I have tried to follow the setup instructions and have run into this problem which isn't apparent from the instructions: https://stackoverflow.com/questions/17618113/the-command-rbenv-install-is-missing
Instead, as I previously have done, I have just installed Jekyll using
and this seems to work fine (Linux Mint 19). Presumably the above commands would also be required if I'm using rbenv?
I'm writing a PR skill-up workshop, and part of it includes viewing changes locally. I think the jekyll setup instructions will be a stumbling block for many people. I have certainly had a lot of difficulty with this before, and the Jekyll site makes it seem so easy
I'd prefer to point to the documentation in this repo rather than produce my own how-to, but currently it seems like the instructions aren't complete enough (for Linux at least - I've not tested this on Windows yet).
The text was updated successfully, but these errors were encountered: