Skip to content

Commit

Permalink
Order of s.add_dependency is important
Browse files Browse the repository at this point in the history
if s.add_dependency "mime-types", "~> 1.16" is specified below fog, gem considers fog first and its requirement on mime-types > 0, pulls in mime-types 2.0.  I gave gem too much credit for calculating dependencies ordering, it does _not_ do that at all.
  • Loading branch information
braddeicide authored and ngiger committed Aug 3, 2014
1 parent a3ad5be commit 26752c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion veewee.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Gem::Specification.new do |s|
# DEBUG_RESOLVER=1 bundle install
s.add_dependency "net-ssh", ">= 2.2.0"

s.add_dependency "mime-types", "~> 1.16"
s.add_dependency "popen4", "~> 0.1.2"
s.add_dependency "thor", "~> 0.15"
s.add_dependency "highline"
Expand All @@ -35,7 +36,6 @@ Gem::Specification.new do |s|
s.add_dependency "grit"
s.add_dependency "fission", "0.4.0"
s.add_dependency "os", "~> 0.9.6"
s.add_dependency "mime-types", "~> 1.16"

s.required_ruby_version = '>= 1.9.2'

Expand Down

0 comments on commit 26752c3

Please sign in to comment.