Running bundle install --path .bundle will incur a build failure within the native extension
Implementation
The issue occurs due to unescaped spaces being interpreted as bash argument delimiters in the swiftlint extension. This simply wraps the captured DESTINATION in the Rakefile for the swiftlint extension.
Summary
A standard local installation of the
danger-swiftlint
gem will fail if spaces exist in the installation path.Example:
Path: ~/Desktop/Folder With Spaces/. Gemfile:
Running
bundle install --path .bundle
will incur a build failure within the native extensionImplementation
The issue occurs due to unescaped spaces being interpreted as bash argument delimiters in the swiftlint extension. This simply wraps the captured
DESTINATION
in the Rakefile for the swiftlint extension.Testing
Using the above example:
gem 'danger-swiftlint', :path => '/path/to/local/gem'