Skip to content

Commit

Permalink
Revert "rails gem has no lib directory to require"
Browse files Browse the repository at this point in the history
This reverts commit 6bcbd60.

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
  • Loading branch information
claudiob committed Nov 28, 2012
1 parent 3e965e2 commit 626086a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 626086a

Please sign in to comment.