Permalink
Browse files

dev: move dev-env gems to Gemfile-custom.sample

  • Loading branch information...
1 parent 9b72cf9 commit 3b7452bdf7aaab76fc794a9cc8c6ec1ea3dfe9c5 @dchelimsky dchelimsky committed Nov 26, 2011
Showing with 40 additions and 43 deletions.
  1. +1 −0 .gitignore
  2. +3 −43 Gemfile
  3. +36 −0 Gemfile-custom.sample
View
@@ -12,3 +12,4 @@ bin
.bundle
.rails-version
.DS_Store
+Gemfile-custom
View
46 Gemfile
@@ -15,12 +15,12 @@ platforms :jruby do
gem "jruby-openssl"
end
-gem 'rake', '0.9.2'
+gem 'rake'
gem 'rdoc'
gem 'sqlite3-ruby', :require => 'sqlite3'
group :development, :test do
- gem "cucumber", "1.0.0"
+ gem "cucumber", "1.0.1"
gem "aruba", "0.4.2"
gem "ZenTest", "~> 4.4.2"
end
@@ -29,47 +29,7 @@ group :test do
gem 'ammeter', '~> 0.1'
end
-group :development do
- gem 'gherkin', '2.4.5'
- gem "rcov", "0.9.9"
- gem "relish", "~> 0.5.0"
- gem "guard-rspec", "0.1.9"
-
- if RUBY_PLATFORM =~ /darwin/
- gem "growl", "1.0.3"
- gem "autotest-fsevent", "~> 0.2.4"
- gem "autotest-growl", "~> 0.2.9"
- end
-
- platforms :mri_18 do
- gem 'ruby-debug'
- end
-
- platforms :mri_19 do
- gem 'ruby-debug19', '~> 0.11.6'
- if RUBY_VERSION == '1.9.3' && !ENV['TRAVIS']
- if `gem list ruby-debug-base19` =~ /0\.11\.26/
- gem 'ruby-debug-base19', '0.11.26'
- else
- warn "Download and install ruby-debug-base19-0.11.26 from http://rubyforge.org/frs/shownotes.php?release_id=46303"
- end
-
- if `gem list linecache19` =~ /0\.5\.13/
- gem 'linecache19', '0.5.13'
- else
- warn "Download and install linecache19-0.5.13 from http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem"
- end
- else
- gem 'ruby-debug-base19', '~> 0.11.25'
- gem 'linecache19', '~> 0.5.12'
- end
- end
-
- platforms :ruby_18, :ruby_19 do
- gem "rb-fsevent", "~> 0.3.9"
- gem "ruby-prof", "~> 0.9.2"
- end
-end
+eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')
case version = ENV['RAILS_VERSION'] || File.read(File.expand_path("../.rails-version", __FILE__)).chomp
when /master/
View
@@ -0,0 +1,36 @@
+group :development do
+ gem 'interactive_rspec'
+ gem 'yard'
+ gem "relish", "~> 0.5.0"
+ gem "guard-rspec", "0.5.0"
+ gem "growl", "1.0.3"
+ gem "spork", "0.9.0.rc9"
+
+ platforms :mri_18, :jruby do
+ gem "rcov", "0.9.10"
+ end
+
+ platforms :mri_18 do
+ gem 'ruby-debug'
+ end
+
+ platforms :mri_19 do
+ case RUBY_VERSION
+ when '1.9.2'
+ gem 'ruby-debug19', '0.11.6'
+ gem 'ruby-debug-base19', '0.11.25'
+ gem 'linecache19', '0.5.12'
+ when '1.9.3'
+ # NOTE - see http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
+ # for help setting up ruby-debug19 on ruby 1.9.3
+ gem 'ruby-debug19', '0.11.6'
+ gem 'ruby-debug-base19', '0.11.26'
+ gem 'linecache19', '0.5.13'
+ end
+ end
+
+ platforms :mri_18, :mri_19 do
+ gem "rb-fsevent", "~> 0.4.3.1"
+ gem "ruby-prof", "~> 0.10.0"
+ end
+end

0 comments on commit 3b7452b

Please sign in to comment.