RbConfig::CONFIG['bindir'] is already a string
This commit is contained in:
parent
366cb87aec
commit
325db99a3c
@ -65,7 +65,7 @@ end
|
|||||||
|
|
||||||
HOMEBREW_LOGS = Pathname.new('~/Library/Logs/Homebrew/').expand_path
|
HOMEBREW_LOGS = Pathname.new('~/Library/Logs/Homebrew/').expand_path
|
||||||
|
|
||||||
RUBY_BIN = Pathname.new("#{RbConfig::CONFIG['bindir']}")
|
RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir'])
|
||||||
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']
|
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']
|
||||||
|
|
||||||
if RUBY_PLATFORM =~ /darwin/
|
if RUBY_PLATFORM =~ /darwin/
|
||||||
|
|||||||
@ -26,7 +26,7 @@ HOMEBREW_WWW = 'http://example.com'
|
|||||||
HOMEBREW_CURL_ARGS = '-fsLA'
|
HOMEBREW_CURL_ARGS = '-fsLA'
|
||||||
HOMEBREW_VERSION = '0.9-test'
|
HOMEBREW_VERSION = '0.9-test'
|
||||||
|
|
||||||
RUBY_BIN = Pathname.new("#{RbConfig::CONFIG['bindir']}")
|
RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir'])
|
||||||
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']
|
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']
|
||||||
|
|
||||||
MACOS = true
|
MACOS = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user