Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed ".git" errors.

Redirected std err to /dev/null in the git commands in the gemspecs. This will stop errors on those commands from being shown to the user (which often results in panic and posts to /issues/)
  • Loading branch information...
commit 6683e00232d9e38647f118f65b9ea53f2b4f12ce 1 parent 8fbc880
@plamoni plamoni authored
View
6 plugins/siriproxy-example/siriproxy-example.gemspec
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
s.rubyforge_project = "siriproxy-example"
- 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.files = `git ls-files 2> /dev/null`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/* 2> /dev/null`.split("\n")
+ s.executables = `git ls-files -- bin/* 2> /dev/null`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
# specify any dependencies here; for example:
View
9 siriproxy.gemspec
@@ -13,11 +13,12 @@ Gem::Specification.new do |s|
s.rubyforge_project = "siriproxy"
- 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.files = `git ls-files 2> /dev/null`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/* 2> /dev/null`.split("\n")
+ s.executables = `git ls-files -- bin/* 2> /dev/null`.split("\n").map{ |f| File.basename(f) }
+
s.require_paths = ["lib"]
-
+
s.executables << 'siriproxy'
s.add_runtime_dependency "CFPropertyList"
Please sign in to comment.
Something went wrong with that request. Please try again.