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

Windows Install with space #34

Open
Aviortheking opened this issue Jan 1, 2022 · 1 comment
Open

Windows Install with space #34

Aviortheking opened this issue Jan 1, 2022 · 1 comment
Labels

Comments

@Aviortheking
Copy link

Aviortheking commented Jan 1, 2022

I tried to install digest-crc (for fastlane) on Windows, but It seems that trying to install digest-crc when Ruby path contains a space character it breaks with an InvalidArgument error

Ruby installation path : D:\User Programs\Ruby30-x64

Error

current directory: D:/User Programs/Ruby30-x64/lib/ruby/gems/3.0.0/gems/digest-crc-0.6.4/ext/digest
\"D:/User\ Programs/Ruby30-x64/bin/ruby.exe\" -ID:/User\ Programs/Ruby30-x64/lib/ruby/3.0.0 -rrubygems D:/User\ Programs/Ruby30-x64/lib/ruby/gems/3.0.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR\=D:/User\ Programs/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/digest-crc-0.6.4 RUBYLIBDIR\=D:/User\ Programs/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/digest-crc-0.6.4
rake failedInvalid argument - "D:/User Programs/Ruby30-x64/bin/ruby.exe"

It could also be a Rake error

@postmodern
Copy link
Owner

postmodern commented Jan 5, 2022

I think this might be a rake or rubygems error. The ENV variables it's passing to rake are not quoted, so they are being implicitly split into multiple arguments because of the space in User Programs, and treated as arguments to the exe/rake command.

You might want to report this to rubygems?

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

No branches or pull requests

2 participants