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
I'm trying to use docker to deploy vizzy but failed with error.
Also I'm trying to build my own image and seems like the same, I've found that there are missing '{' '}' between values in path test/factories/. It fixed method_missing': undefined method 'url' in 'build' factory (NoMethodError), but still got other error. Please help, thanks.
FactoryBot.define do
factory :build do
temporary { false }
title { 'ANDROIDGITHUBBUILD-ANDRGITHUBPULLREQUEST-26740' }
project_id { 1 }
commit_sha { 'd3e552976815db44ac05983a817f7d1c333ef98e' }
pull_request_number { 1704 }
image_md5s { '000000.png=>5d06899520fdbe8fccf6e83eb33998d0' }
username { 'john.doe' }
url { "#{SystemTestConfig.bamboo_base_url}/browse/ANDROIDGITHUBBUILD-ANDRGITHUBPULLREQUEST-26740" }
end
end
Error message with docker run -d -p 3000:3000 -t scottcbishop/vizzy
2020-06-22 09:20:32 WARN Selenium [DEPRECATION] Selenium::WebDriver::Chrome#driver_path= is deprecated. Use Selenium::WebDriver::Chrome::Service#driver_path= instead.
=> Booting Puma
=> Rails 5.1.6.2 application starting in development
=> Run `rails server -h` for more startup options
Exiting
/usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/definition_proxy.rb:99:in `method_missing': undefined method 'url' in 'build' factory (NoMethodError)
Did you mean? 'url { "https://bamboo.com/browse/ANDROIDGITHUBBUILD-ANDRGITHUBPULLREQUEST-26740" }'
from /app/test/factories/builds.rb:3:in `block (2 levels) in <top (required)>'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/syntax/default.rb:18:in `instance_eval'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/syntax/default.rb:18:in `factory'
from /app/test/factories/builds.rb:2:in `block in <top (required)>'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/syntax/default.rb:37:in `instance_eval'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/syntax/default.rb:37:in `run'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/syntax/default.rb:7:in `define'
from /app/test/factories/builds.rb:1:in `<top (required)>'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:286:in `load'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:286:in `block in load'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:258:in `load_dependency'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:286:in `load'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/find_definitions.rb:20:in `block (2 levels) in find_definitions'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/find_definitions.rb:19:in `each'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/find_definitions.rb:19:in `block in find_definitions'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/find_definitions.rb:15:in `each'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/find_definitions.rb:15:in `find_definitions'
from /usr/local/bundle/gems/factory_bot-5.2.0/lib/factory_bot/reload.rb:6:in `reload'
from /usr/local/bundle/gems/factory_bot_rails-5.2.0/lib/factory_bot_rails/railtie.rb:26:in `block in <class:Railtie>'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:49:in `each'
from /usr/local/bundle/gems/activesupport-5.1.6.2/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in `run'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/initializable.rb:59:in `block in run_initializers'
from /usr/local/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /usr/local/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /usr/local/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/local/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /usr/local/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/initializable.rb:58:in `run_initializers'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/application.rb:353:in `initialize!'
from /app/config/environment.rb:5:in `<top (required)>'
from config.ru:3:in `require_relative'
from config.ru:3:in `block in <main>'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:24:in `app'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:80:in `log_to_stdout'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:42:in `start'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:135:in `block in perform'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:130:in `tap'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands/server/server_command.rb:130:in `perform'
from /usr/local/bundle/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
from /usr/local/bundle/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/bundle/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/command/base.rb:63:in `perform'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/command.rb:44:in `invoke'
from /usr/local/bundle/gems/railties-5.1.6.2/lib/rails/commands.rb:16:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
After add '{' '}' and do rake assets:precompile
...
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/core_ext/time/calculations.rb:288:in `compare_with_coercion'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/file_update_checker.rb:131:in `block in max_mtime'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/file_update_checker.rb:128:in `each'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/file_update_checker.rb:128:in `max_mtime'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/file_update_checker.rb:109:in `updated_at'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/file_update_checker.rb:53:in `initialize'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:41:in `new'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:41:in `updater'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application/routes_reloader.rb:31:in `execute_if_updated'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application/finisher.rb:128:in `block in <module:Finisher>'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in `instance_exec'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:30:in `run'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:59:in `block in run_initializers'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/initializable.rb:58:in `run_initializers'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application.rb:353:in `initialize!'
/app/config/environment.rb:5:in `<top (required)>'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:292:in `require'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:292:in `block in require'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:258:in `load_dependency'
/app/vendor/cache/ruby/2.3.0/gems/activesupport-5.1.6.2/lib/active_support/dependencies.rb:292:in `require'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application.rb:329:in `require_environment!'
/app/vendor/cache/ruby/2.3.0/gems/railties-5.1.6.2/lib/rails/application.rb:445:in `block in run_tasks_blocks'
/app/vendor/cache/ruby/2.3.0/gems/bugsnag-6.6.4/lib/bugsnag/integrations/rake.rb:18:in `execute_with_bugsnag'
/app/vendor/cache/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
/app/vendor/cache/ruby/2.3.0/gems/bugsnag-6.6.4/lib/bugsnag/integrations/rake.rb:18:in `execute_with_bugsnag'
Tasks: TOP => environment
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
Hi team,
I'm trying to use docker to deploy vizzy but failed with error.
Also I'm trying to build my own image and seems like the same, I've found that there are missing '{' '}' between values in path
test/factories/
. It fixedmethod_missing': undefined method 'url' in 'build' factory (NoMethodError)
, but still got other error. Please help, thanks.Rails 5.1.6.2
ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-darwin18]
example:
test/factories/builds.rb
Error message with
docker run -d -p 3000:3000 -t scottcbishop/vizzy
After add '{' '}' and do
rake assets:precompile
The text was updated successfully, but these errors were encountered: