# \#rake-task

**URL:** https://meta.discourse.org/tag/rake-task/834.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Created a user from command line. Supposedly active, but isn't?](https://meta.discourse.org/t/created-a-user-from-command-line-supposedly-active-but-isnt/394837)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**Replies:** 1\
**Last updated:** [January 31, 2026, 11:33am UTC](https://meta.discourse.org/t/created-a-user-from-command-line-supposedly-active-but-isnt/394837 "2026-01-31T11:33:35Z")

</div>

bundle exec rake admin:create Email: canapin3@gmail.com Password: Repeat password: Ensuring account is active! Account created successfully with username user3 Do you want to grant Admin privileges to this account…

---

## [Solved theme components fetching timeout error by removing DNS pre-solution](https://meta.discourse.org/t/solved-theme-components-fetching-timeout-error-by-removing-dns-pre-solution/388995)

<div class="topic-metadata">

**Author:** [@MoRanYue](https://meta.discourse.org/u/MoRanYue)\
**Replies:** 2\
**Last updated:** [November 21, 2025, 2:00pm UTC](https://meta.discourse.org/t/solved-theme-components-fetching-timeout-error-by-removing-dns-pre-solution/388995 "2025-11-21T14:00:00Z")

</div>

Continue discussion from Recent updates seemed to stop rake task themes:update to use a proxy server: I could not fetch or update any theme component because of that timeout error, finally I figured it out. Removing the…

---

## [Recent updates seemed to stop rake task themes:update to use a proxy server](https://meta.discourse.org/t/recent-updates-seemed-to-stop-rake-task-themes-update-to-use-a-proxy-server/387956)

<div class="topic-metadata">

**Author:** [@MoRanYue](https://meta.discourse.org/u/MoRanYue)\
**Replies:** 1\
**Last updated:** [November 19, 2025, 5:23pm UTC](https://meta.discourse.org/t/recent-updates-seemed-to-stop-rake-task-themes-update-to-use-a-proxy-server/387956 "2025-11-19T17:23:24Z")

</div>

Recent commits in GitHub seems to stop theme components updater to use a proxy server. I remember that they can be updated through a proxy server (set in env vars HTTP\_PROXY and HTTPS\_PROXY) in the past, but now they do …

---

## [Error when doing "bundle exec rake s3:upload\_assets" - Could not locate Gemfile or .bundle/ directory](https://meta.discourse.org/t/error-when-doing-bundle-exec-rake-s3-upload-assets-could-not-locate-gemfile-or-bundle-directory/361173)

<div class="topic-metadata">

**Author:** [@joshhabka](https://meta.discourse.org/u/joshhabka)\
**Replies:** 6\
**Last updated:** [April 10, 2025, 6:23pm UTC](https://meta.discourse.org/t/error-when-doing-bundle-exec-rake-s3-upload-assets-could-not-locate-gemfile-or-bundle-directory/361173 "2025-04-10T18:23:27Z")

</div>

I am trying to do "bundle exec rake s3:upload\_assets" as root and it yields the following erros: Could not locate Gemfile or .bundle/ directory. I also tried doing it without root, using "sudo -E -u discourse bundle exe…

---

## [How to import category with category permissions?](https://meta.discourse.org/t/how-to-import-category-with-category-permissions/311197)

<div class="topic-metadata">

**Author:** [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Replies:** 3\
**Last updated:** [June 7, 2024, 3:50pm UTC](https://meta.discourse.org/t/how-to-import-category-with-category-permissions/311197 "2024-06-07T15:50:17Z")

</div>

When importing a Category from file, is there any way to ensure the uploaded Topics will remain private? I’ve done a test import into a local Discourse dev env setup and the Category security settings were reset, such t…
