Skip to content
Browse files

Fix gemspec to not require git and a git repository. Fixes warnings when

deploying the gem using the :path option in a Gemfile on a production machine
that doesn't have git and/or the mobile-fu .git directory.
  • Loading branch information...
1 parent 5c8536c commit 08743557c7ecdbb4a0b4c411e6f5559a5cbd8f79 Nick Rogers committed Jan 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 mobile-fu.gemspec
View
8 mobile-fu.gemspec
@@ -14,10 +14,10 @@ Gem::Specification.new do |s|
s.rubyforge_project = "mobile-fu"
- s.files = `git ls-files`.split("\n")
- 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.files = ["CHANGELOG", "MIT-LICENSE", "README.md", "lib/mobile-fu.rb", "lib/mobile-fu/helper.rb", "lib/mobile-fu/version.rb" ]
+ s.test_files = [ 'spec/mobilized_styles_spec.rb', 'spec/spec_helper.rb' ]
+ s.executables = [ ]
+ s.require_path = 'lib'
s.add_dependency 'rails'
s.add_dependency 'rack-mobile-detect'

0 comments on commit 0874355

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