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

bundle install seems to fail if path has spaces? #11

Open
bomberstudios opened this issue Nov 19, 2014 · 3 comments
Open

bundle install seems to fail if path has spaces? #11

bomberstudios opened this issue Nov 19, 2014 · 3 comments
Milestone

Comments

@bomberstudios
Copy link

Not sure what the issue is here, but if I add AXElements to my Gemfile, and install the gem doing

bundle install --path vendor/bundle

I get an error if the path to my folder contains any spaces in it...

Is this a known error, or am I doing something wrong?

@ferrous26
Copy link
Member

I just gave this a shot and could not reproduce the issue:

[mrada@ferrous] /Users/mrada/Developer/the test ➋➀ 
 ○ bundle install --path vendor/bundle
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Installing accessibility_core 0.5.0
Installing accessibility_keyboard 1.0.0
Installing i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.5.1
Installing thread_safe 0.3.4
Installing tzinfo 1.2.2
Installing activesupport 4.2.0
Installing mouse 2.0.1
Installing screen_recorder 0.1.6
Installing AXElements 7.0.0.pre2
Using bundler 1.7.6
Your bundle is complete!
It was installed into ./vendor/bundle

@bomberstudios
Copy link
Author

Here's the error I'm getting:

ale@boh ~/Desktop/tmp/axelements/foo bar 
› bundle install --path vendor/bundle
Fetching https://github.com/axelements/axelements.git
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: invalid option -b  (-h will show valid options) (RuntimeError)


Gem files will remain installed in /Users/ale/Desktop/tmp/axelements/foo bar/vendor/bundle/ruby/2.0.0/gems/accessibility_core-0.5.0 for inspection.
Results logged to /Users/ale/Desktop/tmp/axelements/foo bar/vendor/bundle/ruby/2.0.0/gems/accessibility_core-0.5.0/ext/accessibility/core/gem_make.out
An error occurred while installing accessibility_core (0.5.0), and Bundler cannot continue.
Make sure that `gem install accessibility_core -v '0.5.0'` succeeds before bundling.

The paths for my binaries are:

› which bundler
/usr/bin/bundler

› which gem
/usr/bin/gem

› which ruby
/usr/bin/ruby

and my versions:

› bundle -v
Bundler version 1.6.3

› gem -v
2.0.14

› ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]

Ideas?

@ferrous26 ferrous26 added this to the 7.0.0.pre4 milestone Jan 29, 2015
@ferrous26
Copy link
Member

The issue seems to be:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: invalid option -b  (-h will show valid options) (RuntimeError)

I have no idea who is making that call, so this will require some investigation.

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

2 participants