Permalink
Browse files

Fix Guard related errors.

  • Loading branch information...
1 parent 45a4dce commit 96b7e620730c734a0afc731cd88d810cb2991412 @ugisozols ugisozols committed Mar 12, 2012
Showing with 7 additions and 6 deletions.
  1. +6 −5 Gemfile
  2. +1 −1 Guardfile
View
@@ -6,9 +6,8 @@ gem 'refinerycms', :git => 'git://github.com/resolve/refinerycms.git'
gem 'refinerycms-settings', :git => 'git://github.com/parndt/refinerycms-settings.git'
group :development, :test do
- require 'rbconfig'
-
gem 'refinerycms-testing', :git => 'git://github.com/resolve/refinerycms.git'
+ gem 'guard-rspec', '~> 0.6.0'
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
@@ -30,13 +29,14 @@ group :development, :test do
end
platforms :ruby do
- gem 'spork', '0.9.0.rc9'
+ gem 'spork', '~> 0.9.0.rc'
gem 'guard-spork'
unless ENV['TRAVIS']
+ require 'rbconfig'
if RbConfig::CONFIG['target_os'] =~ /darwin/i
gem 'rb-fsevent', '>= 0.3.9'
- gem 'growl', '~> 1.0.3'
+ gem 'ruby_gntp'
end
if RbConfig::CONFIG['target_os'] =~ /linux/i
gem 'rb-inotify', '>= 0.5.1'
@@ -48,8 +48,9 @@ group :development, :test do
platforms :jruby do
unless ENV['TRAVIS']
+ require 'rbconfig'
if RbConfig::CONFIG['target_os'] =~ /darwin/i
- gem 'growl', '~> 1.0.3'
+ gem 'ruby_gntp'
end
if RbConfig::CONFIG['target_os'] =~ /linux/i
gem 'rb-inotify', '>= 0.5.1'
View
@@ -1,4 +1,4 @@
-guard 'rspec', :version => 2, :cli => "--format Fuubar --color --drb" do
+guard 'rspec', :version => 2, :cli => "--color" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }

0 comments on commit 96b7e62

Please sign in to comment.