Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cut dependency on dev-utils by using included breakpoint lib

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 317f13c2a8c047b3868a58e0121453b092557dba 1 parent 0dfe122
@dhh dhh authored
View
6 activerecord/test/abstract_unit.rb
@@ -1,8 +1,4 @@
-$:.unshift(File.dirname(__FILE__) + '/../lib')#.unshift(File.dirname(__FILE__))
-
-# Make rubygems available for testing if possible
-begin require('rubygems'); rescue LoadError; end
-begin require('dev-utils/debug'); rescue LoadError; end
+$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'test/unit'
require 'active_record'
View
1  railties/Rakefile
@@ -232,7 +232,6 @@ spec = Gem::Specification.new do |s|
s.add_dependency('activerecord', '>= 1.1.0')
s.add_dependency('actionpack', '>= 0.9.5')
s.add_dependency('actionmailer', '>= 0.4.0')
- s.add_dependency('dev-utils', '>= 1.0.1')
s.files = PKG_FILES.to_a
s.require_path = 'lib'
View
2  railties/bin/rails
@@ -18,7 +18,7 @@ SYNOPSIS
DESCRIPTION
This generator will create a suggested directory structure, lots of minor helper
files, and a default configuration for creating a new Rails application. Once the
- generator is done, you're adviced to look at the README in the root of the folder.
+ generator is done, you're advised to look at the README in the root of the folder.
EXAMPLE
rails ~/Code/Ruby/weblog
View
5 railties/helpers/test_helper.rb
@@ -5,10 +5,7 @@
require 'test/unit'
require 'active_record/fixtures'
require 'action_controller/test_process'
-
-# Make rubygems available for testing if possible
-begin require('rubygems'); rescue LoadError; end
-begin require('dev-utils/debug'); rescue LoadError; end
+require 'breakpoint'
def create_fixtures(*table_names)
Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures", table_names)
Please sign in to comment.
Something went wrong with that request. Please try again.