Created
September 29, 2008 19:48
-
-
Save shoe/13659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.upto(1000) {|n| | |
File.open("db/migrate/#{sprintf("%03.0f", n)}_t#{n}.rb", "w") {|f| | |
tmp = <<-code | |
puts #{n} | |
class T#{n} < ActiveRecord::Migration | |
def self.up; end | |
def self.down; end | |
end | |
code | |
f.write tmp | |
} | |
} | |
577 | |
578 | |
579 | |
580 | |
581 | |
no such file to load -- db/migrate//582_t582.rb | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:360:in `migration_classes' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:151:in `inject' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:359:in `each' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:359:in `inject' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:359:in `migration_classes' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:339:in `migrate' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:307:in `up' | |
/home/chris/git/conversion/foo/vendor/rails/activerecord/lib/active_record/migration.rb:298:in `migrate' | |
/home/chris/git/conversion/foo/vendor/rails/railties/lib/tasks/databases.rake:85 | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:545:in `call' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:545:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:540:in `each' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:540:in `execute' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in `invoke_with_call_chain' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:500:in `synchronize' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:500:in `invoke_with_call_chain' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:493:in `invoke' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1930:in `invoke_task' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1908:in `top_level' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1908:in `each' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1908:in `top_level' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1947:in `standard_exception_handling' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1902:in `top_level' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1947:in `standard_exception_handling' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1877:in `run' | |
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 | |
/usr/bin/rake:16:in `load' | |
/usr/bin/rake:16 | |
** [NewRelic] You have exceeded your maximum agent (mongrel) limit for this account (10 agents). | |
** [NewRelic] Visit NewRelic.com to obtain a valid license key, or to upgrade your account. | |
** [NewRelic] Turning New Relic Agent off. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment