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

Fix installing in path containing spaces #94

Closed
wants to merge 1 commit into from

Commits on Mar 14, 2018

  1. Fix installing in path containing spaces

    Installing to any directory with spaces in the path failed because of
    GEM_HOME and GEM_PATH having not enough quotes around them and ruby
    failing to parse the options from RUBYOPT when the -r option had spaces
    in it.
    
    Fixed this by adding the necessary escapes to add doublequotes around
    the env variables and moved restore_environment.rb to the
    lib/ruby/site_ruby/ folder, which is in the ruby load path, so the -r
    option doesn't need to reference the full absolute path.
    
    Fixes phusion#38.
    fson committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    c397896 View commit details
    Browse the repository at this point in the history