Permalink
Browse files

Make sure the permissions are set correctly before building a gem.

Closes gh-8
  • Loading branch information...
1 parent 20e2633 commit 0a41c69ceea4e71e9da0ed0669788d55908a9b3d @nex3 committed Dec 6, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 Rakefile
View
3 Rakefile
@@ -18,6 +18,9 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
+task(:permissions) {sh %{chmod -R a+r .}}
+Rake::Task[:build].prerequisites.unshift('permissions')
+
module Jeweler::VersionHelper::PlaintextExtension
def write_with_inotify
write_without_inotify

0 comments on commit 0a41c69

Please sign in to comment.