You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, padrino-helpers/lib/padrino-helpers.rb call 'require' 'active_support/core_ext/string/conversions'.
Next, 'active_support/core_ext/string/conversions' call 'require' for 'active_support/core_ext/time/calculations'.
And, 'active_support/core_ext/time/calculations' extend Time class.
Especially, Time#=== method will override by ActiveSupport, that depends on ActiveSupport::TimeWithZone class.
But, there is no file which reuire ActiveSupport::TimeWithZone class in padrino-helpers.
Then, padrino's test fails.
cd /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache && /Users/namai/.rvm/rubies/ruby-1.8.7-p358/bin/ruby -S rake test
/Users/namai/.rvm/rubies/ruby-1.8.7-p358/bin/ruby -I"lib:test" -I"/Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib" "/Users/namai/.rvm/gems/ruby-
1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/test_padrino_cache.rb" "test/test_stores.rb"
Invalid gemspec in [/Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/uuid-2.3.5/uuid.gemspec]: uninitialized constant ActiveSupport::TimeWithZone
/Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/uuid-2.3.5/lib/uuid.rb:65: undefined method version' for nil:NilClass (NoMethodError) from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/helper.rb:8:inrequire'
from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/helper.rb:8
from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/test_padrino_cache.rb:1:in require' from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/test_padrino_cache.rb:1 from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:15:inrequire'
from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:15
from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `select'
from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4
rake aborted!
Command failed with status (1): [/Users/namai/.rvm/rubies/ruby-1.8.7-p358/b...]
The text was updated successfully, but these errors were encountered:
ainame
pushed a commit
to ainame/padrino-framework
that referenced
this issue
Jun 8, 2012
First of all, padrino-helpers/lib/padrino-helpers.rb call 'require' 'active_support/core_ext/string/conversions'.
Next, 'active_support/core_ext/string/conversions' call 'require' for 'active_support/core_ext/time/calculations'.
And, 'active_support/core_ext/time/calculations' extend Time class.
Especially, Time#=== method will override by ActiveSupport, that depends on ActiveSupport::TimeWithZone class.
But, there is no file which reuire ActiveSupport::TimeWithZone class in padrino-helpers.
Then, padrino's test fails.
cd /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache && /Users/namai/.rvm/rubies/ruby-1.8.7-p358/bin/ruby -S rake test
/Users/namai/.rvm/rubies/ruby-1.8.7-p358/bin/ruby -I"lib:test" -I"/Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib" "/Users/namai/.rvm/gems/ruby-
1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/test_padrino_cache.rb" "test/test_stores.rb"
Invalid gemspec in [/Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/uuid-2.3.5/uuid.gemspec]: uninitialized constant ActiveSupport::TimeWithZone
/Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/uuid-2.3.5/lib/uuid.rb:65: undefined method
version' for nil:NilClass (NoMethodError) from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/helper.rb:8:in
require'from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/helper.rb:8
from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/test_padrino_cache.rb:1:in
require' from /Users/namai/workspace/prog/ruby/padrino_test/padrino-cache/test/test_padrino_cache.rb:1 from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:15:in
require'from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:15
from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `select'
from /Users/namai/.rvm/gems/ruby-1.8.7-p358/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4
rake aborted!
Command failed with status (1): [/Users/namai/.rvm/rubies/ruby-1.8.7-p358/b...]
The text was updated successfully, but these errors were encountered: