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

Jekyll wont appear as a recognized interal or external command #188

Closed
DonBeleren opened this issue Sep 10, 2020 · 9 comments
Closed

Jekyll wont appear as a recognized interal or external command #188

DonBeleren opened this issue Sep 10, 2020 · 9 comments

Comments

@DonBeleren
Copy link

What problems are you experiencing?

Steps to reproduce

What's the output from ridk version?

@DonBeleren
Copy link
Author

Ridk version: 2.6.6
It says the following error when installing Jekyll from the the "gem install jekyll bundler" command in the promt.

ERROR: Failed to build gem native extension.

@MSP-Greg
Copy link
Contributor

@DonBeleren

See #96 (comment)

@DonBeleren
Copy link
Author

DonBeleren commented Sep 10, 2020

@MSP-Greg
Just went through that, but it still won't let me install Jekyll due to the same error. When I did run the first command from that thread "gem uninstall eventmachine" it did say that "Gem 'eventmachine' is not installed". So I proceeded to run those next two commands.

Please note, I am trying to get Ruby + devkit not just Ruby working. Not sure if this makes a difference..

@MSP-Greg
Copy link
Contributor

@DonBeleren

I don't use (or have installed) Jekyll.

ERROR: Failed to build gem native extension.

Somewhere in the console output it should say what gem failed. Could you post that info? Do you know if you have the 'DevKit/MSYS2' installed? Run ridk exec gcc --version from the console should show output.

@DonBeleren
Copy link
Author

DonBeleren commented Sep 10, 2020

Here are two images. The first when the Jekyll command fails. The second looks like an error from running that "ridk exec pacman -Sy openssl" command. I ran the command you gave just now and got version 9.3.0.
Screenshot (58)
Screenshot (57)

Thanks for any feedback you have. I have no clue what to do....

INTERESTING: I went back and looked at the "gem install eventmachine --platform=ruby" command and it gave the same error of " ERROR: Failed to build gem native extension."

@MSP-Greg
Copy link
Contributor

@DonBeleren

I think the following should help:

gem install http_parser.rb --platform=ruby

@larskanis
Copy link
Member

@DonBeleren There's a space in the path on your E drive. This leads to failures at gem install.

@MSP-Greg
Copy link
Contributor

MSP-Greg commented Sep 10, 2020

Thanks Lars. I always forget about that, even though my RubyGems user-install path (deliberately) has a space...

JFYI, I think it may be specific to some gems, or older Rubies.

@XhmikosR
Copy link

XhmikosR commented Sep 17, 2020

Just uninstall any Ruby versions + MSYS2, and start again from scratch. The reason for the second image is that MSYS2 changed some package mirror URLs hence the errors. You could probably just change the URLs, but starting from scratch is the best IMHO.

EDIT: Alternatively, check the instructions by larskanis #184 (comment)

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

4 participants