# Install on macOS – Failure: Scheduler::Defer can pause and resume

**URL:** <https://meta.discourse.org/t/install-on-macos-failure-scheduler-defer-can-pause-and-resume/144130>\
**Category:** Development\
**Created:** [12 במרץ,‏ 2020,‏ 10:11pm UTC](https://meta.discourse.org/t/install-on-macos-failure-scheduler-defer-can-pause-and-resume/144130 "2020-03-12T22:11:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jeremias\_Volker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremias_volker/32/162032_2.png) [@Jeremias\_Volker](https://meta.discourse.org/u/Jeremias_Volker)\
**Post date:** [12 במרץ,‏ 2020,‏ 10:11pm UTC](https://meta.discourse.org/t/install-on-macos-failure-scheduler-defer-can-pause-and-resume/144130/1 "2020-03-12T22:11:23Z")

</div>

I’ve been following the [Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772). Unfortunately, I run into a failure running the specs using:

```plaintext
bundle exec rake autospec

```

```
Failures:

  1) Scheduler::Defer can pause and resume
     Failure/Error: @reactor&.stop
     
     ThreadError:
       killed thread
     # /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

Failed examples:

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?

Thanks!

**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](https://meta.discourse.org/t/importing-mailing-lists-mbox-listserv-google-groups-emails/79773). 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.

---

_[View the full topic](https://meta.discourse.org/t/install-on-macos-failure-scheduler-defer-can-pause-and-resume/144130)._
