diff options
Diffstat (limited to 'instruby.rb')
-rwxr-xr-x | instruby.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/instruby.rb b/instruby.rb index 38ed40c52b..ea9ef2a582 100755 --- a/instruby.rb +++ b/instruby.rb @@ -409,6 +409,13 @@ install?(:local, :comm, :man) do end end +install?(:local, :comm, :gem) do + puts "creating default gem directories" + + gpath = Gem.default_dir + makedirs Gem::DIRECTORIES.collect {|dir| File.join(gpath, dir)} +end + $install << :local << :ext if $install.empty? $install.each do |inst| if !(procs = $install_procs[inst]) || procs.empty? |