gitt/forum_monster — Issue #5: Bad gemspec
Author: foohey
Created: 2011-10-22 12:15:42+00:00
State: open

Hi,

the gemspec is causing a entire break of rubygems:

```
/home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1392:in `lib_dirs_glob': undefined method `join' for "lib":String (NoMethodError)
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1460:in `matches_for_glob'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:481:in `block in find_files'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:410:in `block in each'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:480:in `map'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:480:in `find_files'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:1087:in `load_plugins'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:86:in `'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/foohey/.rvm/rubies/ruby-1.9.2-head/bin/gem:9:in `

'
```

you should write
`s.require_paths = ["lib"]`
instead of
`s.require_paths = 'lib'`