Op vrijdag 27 mei 2016 10:03:51 UTC+2 schreef Norbert Melzer: > > If you are able to, do an upgrade. If you can't just ignore the warning… > In any case, it is not related to the remaining message you screenshotted > instead of copy pasting… Just read along after the warning lines and take a > closer look at the actual error, it gives you very good hints on how to > proceed. >
Norbert, Thank you; you are right that copy / pasting is better. I will paste the text here underneath. What I see is "rake aborted!". I guess that is the real error. But what to do? Shall I do '*rake db:migrate*'? But in this chapter of the tutorial there is no database implemented; not yet! I don't understand it? The funny thing is: the '*sample_app*' application is running without problems, as far as I can see! Here the pasted screen lines: ========================================================================================== kwibus:~/workspace $ cd sample_app kwibus:~/workspace/sample_app (filling-in-layout) $ bundle exec rake test RubyDep: WARNING: Your Ruby is outdated/buggy. (To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1) RubyDep: WARNING: Your Ruby is: 2.3.0 (buggy). Recommendation: install 2.3.1. RubyDep: WARNING: Your Ruby is outdated/buggy. (To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1) RubyDep: WARNING: Your Ruby is: 2.3.0 (buggy). Recommendation: install 2.3.1. /home/ubuntu/workspace/sample_app/db/schema.rb doesn't exist yet. Run `rake db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /home/ubuntu/workspace/sample_app/config/application.rb to limit the frameworks that will be loaded. rake aborted! NoMethodError: undefined method `use' for Minitest::Reporter:Class /home/ubuntu/workspace/sample_app/test/test_helper.rb:5:in `<top (required)>' /home/ubuntu/workspace/sample_app/test/controllers/static_pages_controller_test.rb:1:in `require' /home/ubuntu/workspace/sample_app/test/controllers/static_pages_controller_test.rb:1:in `<top (required)>' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:114:in `require' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:114:in `block (3 levels) in define' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:114:in `each' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:114:in `block (2 levels) in define' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:113:in `each' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:113:in `block in define' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/sub_test_task.rb:20:in `invoke_rake_task' /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.2/lib/rails/test_unit/testing.rake:8:in `block in <top (required)>' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/cli/exec.rb:63:in `load' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/cli/exec.rb:63:in `kernel_load' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/cli/exec.rb:24:in `run' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/cli.rb:304:in `exec' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/cli.rb:11:in `start' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/exe/bundle:27:in `block in <top (required)>' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/lib/bundler/friendly_errors.rb:98:in `with_friendly_errors' /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.12.2/exe/bundle:19:in `<top (required)>' /usr/local/rvm/gems/ruby-2.3.0/bin/bundle:23:in `load' /usr/local/rvm/gems/ruby-2.3.0/bin/bundle:23:in `<main>' /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => test:run (See full trace by running task with --trace) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/78a7ee76-18ee-419c-be47-ea85db8cb8c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

