Skip to content

Commit

Permalink
Delete 0444 gem_prelude.rb before overwrite
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@2223 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information
drbrain committed Jun 4, 2009
1 parent 8212cc5 commit 329c921
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,12 @@ file 'util/gem_prelude.rb' =>
raise 'template error' unless
gem_prelude.sub!(/^ # INCLUDE rubygems\/defaults\n/, defaults)

rm_f 'util/gem_prelude.rb'

open 'util/gem_prelude.rb', 'w' do |io|
io.write gem_prelude
io.chmod 0444
end

end

# These tasks expect to have the following directory structure:
Expand Down

0 comments on commit 329c921

Please sign in to comment.