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

Help Windows users by addressing charlock_holmes and rugged issues #149

Open
BigBlueHat opened this issue Oct 4, 2019 · 3 comments
Open
Labels
ruby Pull requests that update Ruby code

Comments

@BigBlueHat
Copy link
Contributor

Issue Report

bundle install fails on Windows because of charlock_holmes and rugged issues.

For charlock_holmes, I had to install it directly with these settings:

$ gem install charlock_holmes -- --with-icui18nlib=icuin --with-icudatalib=icudt

For rugged I had to pin its version to 0.27.0 in the Gemfile because anything newer doesn't install on Windows--see this bug for more: libgit2/rugged#791

Expected Behavior

That bundle install would "just work" (high hopes...I realize). 😉

Actual Behavior

Attempting to install the various ruby-based tools failed in various ways...vexingly.

Steps to Reproduce the Issue

Try to bundle install on a Windows machine. Failed in both cmd and bash on Windows (mingw).

@DuaneOBrien
Copy link
Contributor

This is not limited to Windows, I'm again struggling to get this working on OS X.

Previously, I've been able to get it to work after installing RVM as well, but I can't get RVM to install currently either.

@craigez
Copy link
Contributor

craigez commented Jun 7, 2020

There seems to be some issues with Ruby source not abiding by more recent C++ standards that seem to be the default to build charlock_holmes. I couldn't find a way to configure it so just hacked the Ruby headers locally. It looks like it's fixed upstream so should be resolved in some latter version of Ruby/

@willnorris
Copy link
Member

I'm curious if folks are still running into these kinds of issues. It looks like libgit2/rugged#791 has been addressed and included in a more recent release of rugged. I suspect the same is true for the ruby issues @craigez mentioned.

In my entirely unscientific experiment of me banging on a keyboard, I'm not able to reproduce these specific issues. (I am however fighting with getting ruby installed on Windows to test that, but I suspect that's unrelated).

@DuaneOBrien, for what it's worth, you might try rbenv as a replacement for rvm. It's a lot lighter-weight in how it integrates with your shell and has caused fewer issues in my experience. (And its friends pyenv and nodenv, which all work in the same way. I think there's one for java and go and others as well, but I haven't used those)

@hyandell hyandell added the ruby Pull requests that update Ruby code label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Pull requests that update Ruby code
Projects
None yet
Development

No branches or pull requests

5 participants