Skip to content

Commit

Permalink
fixes for 'rake install' on ruby-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamont Granquist committed Jun 12, 2013
1 parent 439980b commit a550cd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -48,10 +48,12 @@ begin
end
rescue LoadError
puts "sdoc is not available. (sudo) gem install sdoc to generate rdoc documentation."
rescue TypeError
puts "sdoc is not working on ruby-2.0.0 and throwing an odd TypeError, rdoc generation will be disabled on ruby 2.0 until that gets fixed."
end

task :install => :package do
sh %{gem install pkg/#{GEM_NAME}-#{Chef::VERSION} --no-rdoc --no-ri}
sh %{gem install pkg/#{GEM_NAME}-#{Chef::VERSION}.gem --no-rdoc --no-ri}
end

task :uninstall do
Expand Down

0 comments on commit a550cd9

Please sign in to comment.