Skip to content
This repository
Browse code

Revert "rails gem has no lib directory to require"

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...
commit 626086a3c6753f953c01351d905445e37a6d40e3 1 parent 3e965e2
Claudio B. authored November 28, 2012

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  rails.gemspec
1  rails.gemspec
@@ -18,7 +18,6 @@ Gem::Specification.new do |s|
18 18
 
19 19
   s.bindir      = 'bin'
20 20
   s.executables = []
21  
-  s.require_paths = []
22 21
   s.files       = Dir['guides/**/*']
23 22
 
24 23
   s.add_dependency 'activesupport', version

0 notes on commit 626086a

Please sign in to comment.
Something went wrong with that request. Please try again.