Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake test failed in rails 3 #53

Open
qichunren opened this issue May 11, 2011 · 0 comments
Open

rake test failed in rails 3 #53

qichunren opened this issue May 11, 2011 · 0 comments

Comments

@qichunren
Copy link

usermatoMacBook-Pro:globalize2 qichunren$ rake test
(in /Users/qichunren/github/globalize2)
/Users/qichunren/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -I"lib:lib" "/Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/active_record/fallbacks_test.rb" "test/active_record/migration_test.rb" "test/active_record/sti_translated_test.rb" "test/active_record/translates_test.rb" "test/active_record/translation_class_test.rb" "test/active_record_test.rb" "test/i18n/missing_translations_test.rb"
/Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.1.0.beta1/lib/active_record/base.rb:1048:in method_missing': undefined methodclass_inheritable_accessor' for Post(Table doesn't exist):Class (NoMethodError)
from /Users/qichunren/github/globalize2/lib/globalize/active_record.rb:47:in translates' from /Users/qichunren/github/globalize2/test/data/models.rb:11:inclass:Post'
from /Users/qichunren/github/globalize2/test/data/models.rb:10:in <top (required)>' from <internal:lib/rubygems/custom_require>:29:inrequire'
from internal:lib/rubygems/custom_require:29:in require' from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.1.0.beta1/lib/active_support/dependencies.rb:237:inblock in require'
from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.1.0.beta1/lib/active_support/dependencies.rb:223:in block in load_dependency' from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.1.0.beta1/lib/active_support/dependencies.rb:639:innew_constants_in'
from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.1.0.beta1/lib/active_support/dependencies.rb:223:in load_dependency' from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.1.0.beta1/lib/active_support/dependencies.rb:237:inrequire'
from test/active_record/fallbacks_test.rb:2:in <top (required)>' from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:inload'
from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in block in <main>' from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:ineach'
from /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `

'
rake aborted!
Command failed with status (1): [/Users/qichunren/.rvm/rubies/ruby-1.9.2-p0...]

(See full trace by running task with --trace)
usermatoMacBook-Pro:globalize2 qichunren$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant