This file contains hidden or 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
| diff --git a/actionpack/Gemfile b/actionpack/Gemfile | |
| index 7d99e06..60d2410 100644 | |
| --- a/actionpack/Gemfile | |
| +++ b/actionpack/Gemfile | |
| @@ -4,6 +4,7 @@ gem "rack", "~> 1.0.0" | |
| gem "rack-test", "~> 0.5.0" | |
| gem "activesupport", "3.0.pre", :vendored_at => rails_root.join("activesupport") | |
| gem "activemodel", "3.0.pre", :vendored_at => rails_root.join("activemodel") | |
| +gem "erubis", "~> 2.6.0" | |
This file contains hidden or 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
| Macintosh-5:rails michaelkoziarski$ git push | |
| Counting objects: 101, done. | |
| Compressing objects: 100% (55/55), done. | |
| Writing objects: 100% (57/57), 22.04 KiB, done. | |
| Total 57 (delta 37), reused 6 (delta 0) | |
| warning: updating the current branch | |
| warning: Updating the currently checked out branch may cause confusion, | |
| warning: as the index and work tree do not reflect changes that are in HEAD. | |
| warning: As a result, you may see the changes you just pushed into it | |
| warning: reverted when you run 'git diff' over there, and you may want |
This file contains hidden or 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
| diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb | |
| index 540be29..151ae5a 100644 | |
| --- a/activesupport/lib/active_support/deprecation.rb | |
| +++ b/activesupport/lib/active_support/deprecation.rb | |
| @@ -13,7 +13,7 @@ module ActiveSupport | |
| $stderr.puts callstack.join("\n ") if debug | |
| }, | |
| 'development' => Proc.new { |message, callstack| | |
| - logger = defined?(Rails) ? Rails.logger : Logger.new($stderr) | |
| + logger = (defined?(Rails) && Rails.logger) ? Rails.logger : Logger.new($stderr) |
This file contains hidden or 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
| actionpack/lib/action_controller/dispatch/dispatcher.rb:37: if Base.logger && Base.logger.respond_to?(:flush) | |
| actionpack/lib/action_controller/metal/redirector.rb:16: logger.info("Redirected to #{url}") if logger && logger.info? | |
| actionpack/lib/action_view/render/rendering.rb:110: logger && logger.info do | |
| activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:195: if @logger && @logger.debug? | |
| activesupport/lib/active_support/cache.rb:262: return unless logger && !silence? | |
| activesupport/lib/active_support/dependencies.rb:625: if logger && log_activity | |
| activesupport/lib/active_support/dependencies.rb:634: if logger && log_activity |
This file contains hidden or 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
| Koz-Macbook:cassandra_object michaelkoziarski$ gem bundle --backtraceERROR: While executing gem ... (Bundler::DirectorySourceError) | |
| already have a gem defined for '.' /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/source.rb:186:in `add_spec' | |
| /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/dsl.rb:185:in `_handle_git_option' | |
| /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/dsl.rb:128:in `gem' | |
| /Users/michaelkoziarski/OpenSource/cassandra_object/Gemfile:3:in `evaluate' | |
| /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/dsl.rb:97:in `git' | |
| /Users/michaelkoziarski/OpenSource/cassandra_object/Gemfile:1:in `evaluate' | |
| /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/dsl.rb:14:in `load_gemfile' | |
| /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/cli.rb:35:in `initialize' | |
| /Library/Ruby/Gems/1.8/gems/bundler-0.7.2/lib/bundler/cli.rb:6:in `new' |
This file contains hidden or 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
| >> uuid = Cassandra::UUID.new | |
| => <Cassandra::UUID#2156899500 time: Sat Jan 02 21:58:59 +1300 2010, usecs: 882376 jitter: 2080663018510113689> | |
| >> uuid == false | |
| NoMethodError: undefined method 'to_i' for false:FalseClass` |
This file contains hidden or 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
| module Kernel | |
| def m(object=Object.new, pattern=nil) | |
| methods = (object.public_methods(true) - Object.new.public_methods(true)).sort | |
| methods = methods.grep pattern unless pattern.nil? | |
| ObjectMethods.new(methods) | |
| end | |
| class ObjectMethods < Array | |
| def inspect | |
| puts sort |
This file contains hidden or 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
| git "git://github.com/rails/rails.git", :ref=>"c548e213658386f3a5b00097bc5b30bf3736e6b4" do | |
| gem "activesupport", "3.0.0.beta1", :path=>"activesupport" | |
| gem "activemodel", "3.0.0.beta1", :path=>"activemodel" | |
| end | |
| gem "cassandra", ">= 0.7" | |
| gem "shoulda" |
This file contains hidden or 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
| Interval Since Last Panic Report: 556026 sec | |
| Panics Since Last Report: 1 | |
| Anonymous UUID: D00868A2-A6F0-4225-9DCA-28983D9EE571 | |
| Sun Mar 21 14:50:18 2010 | |
| panic(cpu 1 caller 0x2a7ac2): Kernel trap at 0x0a9f020e, type 13=general protection, registers: | |
| CR0: 0x8001003b, CR2: 0xb0102fec, CR3: 0x00100000, CR4: 0x00000660 | |
| EAX: 0x0bcd2ca7, EBX: 0x04000000, ECX: 0x0b1c9980, EDX: 0x0bd52e00 | |
| CR2: 0xb0102fec, EBP: 0x528c3f68, ESI: 0x00000000, EDI: 0x0d365200 | |
| EFL: 0x00010282, EIP: 0x0a9f020e, CS: 0x00000008, DS: 0x0bd50010 |