pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

`bundle install` fails when run inside directory with spaces

Open rmccue opened this issue 7 years ago • 4 comments

Before submitting an issue, please be sure to

This issue affects

  • [ ] The site generated by GitHub Pages
  • [x] Building sites locally

What did you do (e.g., steps to reproduce)

mkdir "Test Directory"
cd "Test Directory"
echo "source 'https://rubygems.org'" > Gemfile
echo "gem 'github-pages', group: :jekyll_plugins" >> Gemfile
bundle install --path vendor/bundle

What did you expect to happen?

Everything to install correctly.

What happened instead?

The configure script for ffi doesn't quote $srcdir, which breaks building:

Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
[...]
Installing ffi 1.9.18 with native extensions
[...]
/Users/rmccue/Test Directory/vendor/bundle/ruby/2.0.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure: line 2659: /Users/rmccue/Test: No such file or
directory

rmccue avatar Apr 07 '17 02:04 rmccue

Note: I'm pretty sure this is an issue with ffi, not this gem, however probably worth noting on this repo in any case.

rmccue avatar Apr 07 '17 02:04 rmccue

Not reproduced with ruby 2.3.3 on MacOS Sierra.

DirtyF avatar Apr 07 '17 11:04 DirtyF

Is this still an issue?

benbalter avatar Jun 13 '17 13:06 benbalter

Can GitHub pages even have spaces in their main URL?

merlinstardust avatar May 23 '18 11:05 merlinstardust