Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Fixed the gemspec to deal with environments where git isn't in the en…
Browse files Browse the repository at this point in the history
…vironment

E.g. Bundler looks at the gemspec when running in development mode under
Passenger. If git isn't in Passenger's environment path, an app blows up.
  • Loading branch information
rmm5t committed Feb 28, 2011
1 parent 83dbd4c commit 3b1857f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions no_peeping_toms.gemspec
Expand Up @@ -12,9 +12,7 @@ Gem::Specification.new do |s|
s.summary = %q{Disables observers during testing, allowing you to write model tests that are completely decoupled from the observer.} s.summary = %q{Disables observers during testing, allowing you to write model tests that are completely decoupled from the observer.}
s.description = %q{Disables observers during testing, allowing you to write model tests that are completely decoupled from the observer.} s.description = %q{Disables observers during testing, allowing you to write model tests that are completely decoupled from the observer.}


s.files = `git ls-files`.split("\n") s.files = Dir["*.rdoc", "{lib,spec}/**/*"]
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"] s.require_paths = ["lib"]


s.add_runtime_dependency 'activerecord', '>=3.0.0' s.add_runtime_dependency 'activerecord', '>=3.0.0'
Expand Down

0 comments on commit 3b1857f

Please sign in to comment.