1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "rails gem has no lib directory to require"

This reverts commit 6bcbd6046f.

The default value for require_paths is ['lib'], and Rails does not
need to include any lib/ file to build the gem, so the previous
commit 'makes sense'. However, gems will not be built at all if
require_paths is empty (see https://gist.github.com/1065473), so
it's better to stick with the default, which does not have any
side-effects
This commit is contained in:
claudiob 2012-11-28 10:20:54 -08:00
parent 3e965e2144
commit 626086a3c6

View file

@ -18,7 +18,6 @@ Gem::Specification.new do |s|
s.bindir = 'bin'
s.executables = []
s.require_paths = []
s.files = Dir['guides/**/*']
s.add_dependency 'activesupport', version