diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-06-12 14:19:36 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2013-06-12 14:19:36 -0700 |
commit | a550cd91c8fb28a9f98ec9fec5336291cfe7029f (patch) | |
tree | 5c8851e9930e08beafbee3479ccd7cda20b1c0a4 /Rakefile | |
parent | 439980b12ed78eb5f61c52cf0d23d4a9205d1011 (diff) | |
download | chef-a550cd91c8fb28a9f98ec9fec5336291cfe7029f.tar.gz |
fixes for 'rake install' on ruby-2.0.0
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |