Permalink
Browse files

Update ruby-debug

  • Loading branch information...
1 parent 5047f47 commit 774ebdac423d490e0c99e708a209a0ff3c2fe6ea @therubymug committed Aug 31, 2011
Showing with 40 additions and 9 deletions.
  1. +5 −2 Gemfile
  2. +21 −5 Gemfile.lock
  3. +14 −2 rake_spec_with_all_rubies.sh
View
@@ -1,6 +1,9 @@
-source :gemcutter
+source 'http://rubygems.org'
gem 'highline', '1.5.0'
gem 'jeweler', '1.4.0'
gem 'rspec', '1.3.1'
-gem 'ruby-debug' if RUBY_VERSION =~ /^1.8/
+unless RUBY_VERSION =~ /^1.8.6/
+ gem 'ruby-debug', :require => 'ruby-debug', :platform => 'ruby_18'
+ gem 'ruby-debug19', :require => 'ruby-debug', :platform => 'ruby_19'
+end
View
@@ -1,7 +1,8 @@
GEM
remote: http://rubygems.org/
specs:
- columnize (0.3.1)
+ archive-tar-minitar (0.5.2)
+ columnize (0.3.4)
gemcutter (0.6.1)
git (1.2.5)
highline (1.5.0)
@@ -10,13 +11,27 @@ GEM
git (>= 1.2.5)
rubyforge (>= 2.0.0)
json_pure (1.4.6)
- linecache (0.43)
+ linecache (0.46)
+ rbx-require-relative (> 0.0.4)
+ linecache19 (0.5.12)
+ ruby_core_source (>= 0.1.4)
+ rbx-require-relative (0.0.5)
rspec (1.3.1)
- ruby-debug (0.10.3)
+ ruby-debug (0.10.4)
columnize (>= 0.1)
- ruby-debug-base (~> 0.10.3.0)
- ruby-debug-base (0.10.3)
+ ruby-debug-base (~> 0.10.4.0)
+ ruby-debug-base (0.10.4)
linecache (>= 0.3)
+ ruby-debug-base19 (0.11.25)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby_core_source (>= 0.1.4)
+ ruby-debug19 (0.11.6)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby-debug-base19 (>= 0.11.19)
+ ruby_core_source (0.1.5)
+ archive-tar-minitar (>= 0.5.2)
rubyforge (2.0.4)
json_pure (>= 1.1.7)
@@ -28,3 +43,4 @@ DEPENDENCIES
jeweler (= 1.4.0)
rspec (= 1.3.1)
ruby-debug
+ ruby-debug19
@@ -1,7 +1,19 @@
#!/bin/bash
+if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
+ source "$HOME/.rvm/scripts/rvm"
+else
+ printf "ERROR: An RVM installation was not found.\n"
+fi
+
rubies=( 1.8.6 1.8.7 1.9.2 )
gemset="hitch"
-for x in ${rubies[*]}; do rvm use --create $x@$gemset && bundle install; done
-for x in ${rubies[*]}; do rvm use $x@$gemset && rake; done
+for x in ${rubies[*]}; do
+ rvm use --create $x@$gemset
+ if ! command -v bundle >/dev/null; then
+ gem install bundler
+ fi
+ bundle install | grep -v 'Using' | grep -v 'complete' | sed '/^$/d'
+ rake spec
+done

0 comments on commit 774ebda

Please sign in to comment.