RbConfig::CONFIG['bindir'] is already a string

This commit is contained in:
Jack Nagel 2013-07-28 16:43:22 -05:00
parent 366cb87aec
commit 325db99a3c
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ end
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']
if RUBY_PLATFORM =~ /darwin/

View File

@ -26,7 +26,7 @@ HOMEBREW_WWW = 'http://example.com'
HOMEBREW_CURL_ARGS = '-fsLA'
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']
MACOS = true