Permalink
Browse files

Add Gemfile, make setting signing_key in gemspec conditional.

  • Loading branch information...
1 parent 6b8fa56 commit 7665e3b98668e98e4a730397a87889673a0a18b3 @dpiddy dpiddy committed Mar 18, 2013
Showing with 7 additions and 6 deletions.
  1. +1 −5 .gitignore
  2. +3 −0 Gemfile
  3. +3 −1 rye.gemspec
View
6 .gitignore
@@ -1,5 +1 @@
-*~
-*swp
-*.gem
-.DS_Store
-
+Gemfile.lock
View
3 Gemfile
@@ -0,0 +1,3 @@
+source "https://rubygems.org"
+
+gemspec
View
4 rye.gemspec
@@ -68,7 +68,9 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.rubyforge_project = "rye"
s.rubygems_version = "1.8.25"
- s.signing_key = "/mnt/gem/gem-private_key.pem"
+ if File.exists?("/mnt/gem/gem-private_key.pem")
+ s.signing_key = "/mnt/gem/gem-private_key.pem"
+ end
s.summary = "Run SSH commands on a bunch of machines at the same time (from Ruby)."
if s.respond_to? :specification_version then

0 comments on commit 7665e3b

Please sign in to comment.