Permalink
Browse files

No need for certain gems to be installed on Travis.

  • Loading branch information...
1 parent 084fc0d commit a1be5a966127fada8e4c923db05e72d391a31422 @netzpirat committed Dec 4, 2012
Showing with 16 additions and 14 deletions.
  1. +16 −14 Gemfile
View
30 Gemfile
@@ -5,22 +5,24 @@ gemspec
gem 'rake'
gem 'rspec'
-gem 'guard-rspec'
-gem 'yard'
-gem 'redcarpet'
-gem 'rb-inotify', :require => false
-gem 'rb-fsevent', :require => false
-gem 'rb-fchange', :require => false
+unless ENV['TRAVIS']
+ gem 'guard-rspec'
+ gem 'yard'
+ gem 'redcarpet'
+ gem 'rb-inotify', :require => false
+ gem 'rb-fsevent', :require => false
+ gem 'rb-fchange', :require => false
-require 'rbconfig'
+ require 'rbconfig'
-if RbConfig::CONFIG['target_os'] =~ /darwin/i
- gem 'ruby_gntp', :require => false
-elsif RbConfig::CONFIG['target_os'] =~ /linux/i
- gem 'libnotify', :require => false
-elsif RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
- gem 'win32console', :require => false
- gem 'rb-notifu', :require => false
+ if RbConfig::CONFIG['target_os'] =~ /darwin/i
+ gem 'ruby_gntp', :require => false
+ elsif RbConfig::CONFIG['target_os'] =~ /linux/i
+ gem 'libnotify', :require => false
+ elsif RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
+ gem 'win32console', :require => false
+ gem 'rb-notifu', :require => false
+ end
end

0 comments on commit a1be5a9

Please sign in to comment.