diff options
author | Arturas Slajus <x11@arturaz.net> | 2012-02-16 16:34:09 +0200 |
---|---|---|
committer | Arturas Slajus <x11@arturaz.net> | 2012-02-16 16:34:09 +0200 |
commit | 5068e2bff0dde9ef94c9a3cbdbf9a2b2f504e2cb (patch) | |
tree | f73daa03000555d17ddc458d5952715c60d898e0 | |
parent | 553c9196d946d27acf3b683a32f1c05f2ef54328 (diff) | |
download | net-ssh-5068e2bff0dde9ef94c9a3cbdbf9a2b2f504e2cb.tar.gz |
Work around inability to specify platform specific dependencies in gemspec.
-rw-r--r-- | net-ssh.gemspec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net-ssh.gemspec b/net-ssh.gemspec index 7bb9004..73b24fc 100644 --- a/net-ssh.gemspec +++ b/net-ssh.gemspec @@ -14,7 +14,10 @@ s.require_paths = %w[lib] s.rubygems_version = '1.3.2' - s.add_dependency 'jruby-pageant', :platform => "java" + # This has two flavours with java one actually doing something and other + # one just raising error. This is a workaround for no ability to specify + # platform specific dependencies in gemspecs. + s.add_dependency 'jruby-pageant', ">=1.0.1" s.executables = %w[] |