Browse files

Fix syntax of gemspec which was borked for 4.2.6

I just installed a fresh copy and `irb; require 'rubygems'; require
'redcloth'` was failing with a No Such File error.  Printing out $:
revealed a wrong path.  Documentation indicated that require_path
expects a string.  require_paths is an array, and by default it already
includes 'lib', so we simply concatenate to it
  • Loading branch information...
gtd committed Feb 10, 2011
1 parent b65727d commit 7b8e316101c5397a21a58938cf26935aff1f475a
Showing with 1 addition and 1 deletion.
  1. +1 −1 redcloth.gemspec
@@ -21,7 +21,7 @@ do |s|
s.executables = ['redcloth']
s.extra_rdoc_files = ["README.rdoc", "COPYING", "CHANGELOG"]
s.rdoc_options = ["--charset=UTF-8", "--line-numbers", "--inline-source", "--title", "RedCloth", "--main", "README.rdoc"]
- s.require_path = ["lib", "lib/case_sensitive_require"]
+ s.require_paths << "lib/case_sensitive_require"
s.files -= Dir['lib/redcloth.jar']
s.files -= Dir['lib/**/*.dll']

0 comments on commit 7b8e316

Please sign in to comment.