Skip to content

Instantly share code, notes, and snippets.

@arturaz
Created August 11, 2011 07:14
Show Gist options
  • Save arturaz/1139069 to your computer and use it in GitHub Desktop.
Save arturaz/1139069 to your computer and use it in GitHub Desktop.
Running Nebula 44 server controller tests with jruby-head
arturas@arturaz-fujitsu:~/work/spacegame/server$ rvm use jruby-head
Using /home/arturas/.rvm/gems/jruby-head
arturas@arturaz-fujitsu:~/work/spacegame/server$ time jruby -S rake spec:controllers
NameError: uninitialized constant ActiveRecord::Base::BelongsToPolymorphicAssociation
load_missing_constant at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:506
const_missing at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:183
each at org/jruby/RubyArray.java:1603
const_missing at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:181
const_get at org/jruby/RubyModule.java:2486
local_constants at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/core_ext/module/introspection.rb:70
each at org/jruby/RubyArray.java:1603
local_constants at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/core_ext/module/introspection.rb:70
each at org/jruby/RubyArray.java:1603
local_constants at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/core_ext/module/introspection.rb:68
local_constant_names at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/core_ext/module/introspection.rb:86
watch_namespaces at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:127
collect at org/jruby/RubyArray.java:2336
watch_namespaces at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:125
new_constants_in at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:592
load_file at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:453
require_or_load at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:340
load_missing_constant at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:491
const_missing at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:183
each at org/jruby/RubyArray.java:1603
const_missing at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:181
(root) at ./spec/factories/objectives_factory.rb:21
define at /home/arturas/.rvm/gems/jruby-head/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb:46
(root) at ./spec/factories/objectives_factory.rb:19
require at org/jruby/RubyKernel.java:1025
require at ./spec/factories/objectives_factory.rb:29
require at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239
load_dependency at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225
new_constants_in at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596
load_dependency at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225
require at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239
find_definitions at /home/arturas/.rvm/gems/jruby-head/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb:277
each at org/jruby/RubyArray.java:1603
find_definitions at /home/arturas/.rvm/gems/jruby-head/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb:276
each at org/jruby/RubyArray.java:1603
find_definitions at /home/arturas/.rvm/gems/jruby-head/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb:272
(root) at /home/arturas/.rvm/gems/jruby-head/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:32
require at org/jruby/RubyKernel.java:1025
require at /home/arturas/.rvm/gems/jruby-head/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:32
require at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239
load_dependency at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225
new_constants_in at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596
load_dependency at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225
require at /home/arturas/.rvm/gems/jruby-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239
(root) at /home/arturas/work/spacegame/server/spec/spec_helper.rb:182
each_run at /home/arturas/work/spacegame/server/spec/spec_helper.rb:7
(root) at /home/arturas/work/spacegame/server/spec/spec_helper.rb:174
require at org/jruby/RubyKernel.java:1025
(root) at /home/arturas/work/spacegame/server/spec/spec_helper.rb:1
load at org/jruby/RubyKernel.java:1050
load_files at ./spec/controllers/daily_bonus_controller_spec.rb:15
each at org/jruby/RubyArray.java:1603
load_files at /home/arturas/.rvm/gems/jruby-head/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:14
run_examples at /home/arturas/.rvm/gems/jruby-head/gems/rspec-1.3.2/lib/spec/runner/options.rb:134
run at /home/arturas/.rvm/gems/jruby-head/gems/rspec-1.3.2/lib/spec/runner/command_line.rb:9
(root) at /home/arturas/.rvm/gems/jruby-head/gems/rspec-1.3.2/bin/spec:5
rake aborted!
Command /home/arturas/.rvm/rubies/jruby-head/bin/jruby -I"lib" "/home/arturas/.rvm/gems/jruby-head/gems/rspec-1.3.2/bin/spec" "spec/controllers/daily_bonus_controller_spec.rb" "spec/controllers/galaxies_controller_spec.rb" "spec/controllers/construction_queues_controller_spec.rb" "spec/controllers/game_controller_spec.rb" "spec/controllers/players_controller_spec.rb" "spec/controllers/technologies_controller_spec.rb" "spec/controllers/alliances_controller_spec.rb" "spec/controllers/market_controller_spec.rb" "spec/controllers/chat_controller_spec.rb" "spec/controllers/planets_controller_spec.rb" "spec/controllers/units_controller_spec.rb" "spec/controllers/routes_controller_spec.rb" "spec/controllers/quests_controller_spec.rb" "spec/controllers/objects_controller_spec.rb" "spec/controllers/solar_systems_controller_spec.rb" "spec/controllers/combat_logs_controller_spec.rb" "spec/controllers/notifications_controller_spec.rb" "spec/controllers/buildings_controller_spec.rb" failed
Tasks: TOP => spec:controllers
(See full trace by running task with --trace)
real 0m31.517s
user 0m12.997s
sys 0m0.904s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment