# Rebake with rails command or rake task doesn't work, but rebuilding HTML does. Why?

**URL:** https://meta.discourse.org/t/rebake-with-rails-command-or-rake-task-doesnt-work-but-rebuilding-html-does-why/220841
**Category:** Self-hosting
**Created:** [March 13, 2022, 2:02pm UTC](https://meta.discourse.org/t/rebake-with-rails-command-or-rake-task-doesnt-work-but-rebuilding-html-does-why/220841 "2022-03-13T14:02:44Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 13, 2022, 4:15pm UTC](https://meta.discourse.org/t/rebake-with-rails-command-or-rake-task-doesnt-work-but-rebuilding-html-does-why/220841/4 "2022-03-13T16:15:34Z")

</div>

~~I’m afraid I don’t know why it’s working differently from the admin wrench versus the console, but I found this topic with a similar issue, and they got it to work by rebaking using the API:~~

[https://meta.discourse.org/t/some-linked-images-not-displaying-show-as-broken/142177/7](https://meta.discourse.org/t/some-linked-images-not-displaying-show-as-broken/142177/7)

~~Not sure if that’s any use, but thought I’d share.🙂~~

**Edit:** I should’ve read one post further. Apparently that’s also unreliable. Sorry, my bad. False alarm.

---

_[View the full topic](https://meta.discourse.org/t/rebake-with-rails-command-or-rake-task-doesnt-work-but-rebuilding-html-does-why/220841)._
