github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 564 forks source link

How do I set up rbenv with Windows? #2425

Closed hmisonne closed 4 years ago

hmisonne commented 4 years ago

I would like to access to GitHub classroom to work on projects with others.

I have forked the https://github.com/education/classroom repository and cloned it into a local repository. To get started I need to run in my command line script/bootstrap (to get the requirements). However I have this error message: "It looks like you don't have rbenv installed"

I tried to go run this command : rbenv-installer/bin/rbenv-installer from Git Bash and I have this message:

warning: gcc not found; using CC=cc
aborted: compiler not found: cc
Optional bash extension failed to build, but things will still work normally.
/c/Users/Helene/.rbenv/bin/rbenv: line 1: ../libexec/rbenv: No such file or directory

Then if I run : curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash

I have this error message:

curl: (60) SSL certificate problem: self signed certificate in certificate chain.
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it.

How can I fix it?

d12 commented 4 years ago

None of our developers work on Windows, we're not able to be helpful here :/ You'll find better help on StackOverflow or possibly the rbenv repository.