1) Scheduler::Defer can pause and resume
# /Users/js/.rvm/gems/ruby-2.2.1/gems/message_bus-2.2.3/lib/message_bus/timer_thread.rb:48:in `wakeup'
# /Users/js/.rvm/gems/ruby-2.2.1/gems/message_bus-2.2.3/lib/message_bus/timer_thread.rb:48:in `block in stop'
# /Users/js/.rvm/gems/ruby-2.2.1/gems/message_bus-2.2.3/lib/message_bus/timer_thread.rb:46:in `synchronize'
# /Users/js/.rvm/gems/ruby-2.2.1/gems/message_bus-2.2.3/lib/message_bus/timer_thread.rb:46:in `stop'
# ./lib/scheduler/defer.rb:56:in `stop!'
# ./spec/components/scheduler/defer_spec.rb:44:in `block (2 levels) in <main>'
Finished in 9 minutes 53 seconds (files took 25.84 seconds to load)
6460 examples, 1 failure, 4 pending
rspec ./spec/components/scheduler/defer_spec.rb:67 # Scheduler::Defer can pause and resume
Initially, I had a few issues with installing the dependencies running the install script of the guide. Though I think they should be all solved now.
How can I fix this issue?
Purpose of the local installation
In case this is relevant: I’m trying to migrate from a Google Group to a hosted version of Discourse using this guide. The idea is to set up a local version do the migration locally and then upload the backup to the hosted version as I don’t have root access to the hosted version.
The Discourse support mentioned that macOS guide as an option in an email. But they also pointed me to the Beginners Guide to Install Discourse for Development using Docker. I basically just want to get the job done the quickest way. Just checked DigitialOcean pricing as well and it seems much more affordable then I expected.
What do you recommend as the quickest/easiest way?
I figured the logs show that rvm is used. So rvm list prints:
=* ruby-2.2.1 [ x86_64 ]
ruby-2.5.0 [ x86_64 ]
So I did rvm install "ruby-2.6.5" and tried bundle exec rake autospec again. It now prints:
Traceback (most recent call last):
2: from /Users/js/.rvm/rubies/ruby-2.6.5/bin/bundle:23:in `<main>'
1: from /Users/js/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/Users/js/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.1.1) required by your /Users/js/Documents/Aktuelle-Projekte/Openframe/discourse/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.1.1`
… seems like I you shouldn’t touch the rvm version? Or am I missing something?