Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #33 from mcmire/remove_rdoc_opts_warning

Don't import rdoc options from gemspec if rdoc plugin isn't loaded
  • Loading branch information...
commit 9ab9e6f0b88b4f2251a476ff3a101576584ab397 2 parents 6cda8ed + 6a2834a
@TwP authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/bones/plugins/gem.rb
View
4 lib/bones/plugins/gem.rb
@@ -358,7 +358,9 @@ def import_gemspec( filename )
config.rubyforge_project = spec.rubyforge_project
config.gem.executables = spec.executables
- config.rdoc.opts = spec.rdoc_options
+ if have? :rdoc
+ config.rdoc.opts = spec.rdoc_options
+ end
config.test.file = spec.test_file if spec.test_file
config.test.files = spec.test_files if spec.test_files
Please sign in to comment.
Something went wrong with that request. Please try again.