diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-30 08:59:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-30 08:59:16 +0000 |
commit | 499bf746da00eab7b0fc365bec0e791f1ca2b203 (patch) | |
tree | 6fe209baa581b08053a531b0bbe5ad17df8d2222 /lib/rubygems/installer.rb | |
parent | 270ece8441b26dbfbd0ca3fdcb70efec263791a8 (diff) | |
download | ruby-499bf746da00eab7b0fc365bec0e791f1ca2b203.tar.gz |
* gem_prelude.rb (push_all_highest_version_gems_on_load_path):
simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/installer.rb')
-rw-r--r-- | lib/rubygems/installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index e9910876f3..d6075dd0a2 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -325,7 +325,7 @@ class Gem::Installer @spec.executables.each do |filename| filename.untaint - bin_path = File.expand_path File.join(@gem_dir, @spec.bindir, filename) + bin_path = File.expand_path("#{@spec.bindir}/#{filename}", @gem_dir) mode = File.stat(bin_path).mode | 0111 File.chmod mode, bin_path |