Permalink
Browse files

use platforms in Gemfile as intended

  • Loading branch information...
1 parent c6e834d commit 0b278b23732304ffe5c9cd1317b911914af8bc56 @dchelimsky dchelimsky committed Nov 19, 2010
Showing with 4 additions and 7 deletions.
  1. +4 −7 Gemfile
View
11 Gemfile
@@ -19,13 +19,10 @@ gem "relish", "~> 0.0.3"
gem "guard-rspec"
gem "growl"
-unless RUBY_PLATFORM == "java"
+gem "ruby-debug", :platforms => :ruby_18
+gem "ruby-debug19", :platforms => :ruby_19
+
+platforms :ruby_18, :ruby_19 do
gem "rb-fsevent"
gem "ruby-prof"
- case RUBY_VERSION
- when /^1.9.2/
- gem "ruby-debug19"
- when /^1.8/
- gem "ruby-debug"
- end
end

0 comments on commit 0b278b2

Please sign in to comment.