# Remove \`spork-rails\` from Discourse

**URL:** https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363
**Category:** Development
**Created:** [August 3, 2017, 7:20am UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363 "2017-08-03T07:20:04Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 3, 2017, 7:20am UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/1 "2017-08-03T07:20:04Z")

</div>

As part of our efforts to upgrade to Rails 5, we’ll need to deprecate [spork-rails](https://github.com/sporkrb/spork-rails) which currently locks Rails to `< 5`. However, Rails 5 support for the gem is probably never going to land as the last commit made to the gem is way back in 2013. The main thing using spork in our code base is autospec so we’ll need to figure out an alternative for it.

Going to tag this #pr-welcome in the meantime.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 3, 2017, 5:09pm UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/2 "2017-08-03T17:09:23Z")

</div>

Not strictly the case, it is optional, have not used spork personally for years, can be nuked with impunity

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [August 3, 2017, 5:31pm UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/3 "2017-08-03T17:31:42Z")

</div>

> [@tgxworld](#):
>
> As part of our efforts to upgrade to Rails 5

Since there’s `action cables` integrated in Rails 5 to add support for WebSockets, can you confirm Discourse won’t use it 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 3, 2017, 5:32pm UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/4 "2017-08-03T17:32:39Z")

</div>

We will not add the action cable dependency and have zero plans of using it

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [August 9, 2017, 9:03pm UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/5 "2017-08-09T21:03:00Z")

</div>

Hello,

This PR should remove all traces of Spork.

[https://github.com/discourse/discourse/pull/5035](https://github.com/discourse/discourse/pull/5035)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 11, 2017, 12:52am UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/6 "2017-08-11T00:52:47Z")

</div>

Thank you @nbianca, PR has been merged with tests all ✅

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 11, 2017, 12:52am UTC](https://meta.discourse.org/t/remove-spork-rails-from-discourse/67363/7 "2017-08-11T00:52:52Z")

</div>


