# ./launcher bootstrap app fails with "Could not find rake"

**URL:** https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992
**Category:** Self-hosting
**Created:** [February 9, 2015, 4:12am UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992 "2015-02-09T04:12:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Akagi201](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akagi201/32/38696_2.png) [@Akagi201](https://meta.discourse.org/u/Akagi201)
#### Post date: [February 9, 2015, 4:12am UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992/1 "2015-02-09T04:12:19Z")

</div>

I install discourse with this doc [https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md](https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md)

but when I ./launcher bootstrap app I get the error log

I run as root, and my linux is gentoo on linode

```plaintext
2015-02-09 04:03:11 UTC LOG: received fast shutdown request
2015-02-09 04:03:11 UTC LOG: aborting any active transactions
2015-02-09 04:03:11 UTC LOG: autovacuum launcher shutting down
2015-02-09 04:03:11 UTC LOG: shutting down
I, [2015-02-09T04:03:11.763538 #44] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 184
[184 | signal handler] (1423454591) Received SIGTERM scheduling shutdown...
2015-02-09 04:03:11 UTC LOG: database system is shut down
[184] 09 Feb 04:03:11.808 # User requested shutdown...
[184] 09 Feb 04:03:11.808 * Saving the final RDB snapshot before exiting.
[184] 09 Feb 04:03:11.810 * DB saved on disk
[184] 09 Feb 04:03:11.810 # Redis is now ready to exit, bye bye...

FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development' failed with return #<Process::Status: pid 280 exit 7>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
94c259a7b53a91fc308a490909484354ab8ef0c9c03a08503c583edd8408fa6f
FAILED TO BOOTSTRAP

```

---

<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: [February 9, 2015, 4:16am UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992/2 "2015-02-09T04:16:52Z")

</div>

need a few more lined of the logs, guess is that rubygems is playing up.

---

<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: [February 9, 2015, 4:40am UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992/4 "2015-02-09T04:40:45Z")

</div>

```plaintext
HTTP 200 OK
Fetching source index from https://rubygems.org/
Could not find rake-10.4.2 in any of the sources

```

looks like its meant to be there [rake | RubyGems.org | your community gem host](https://rubygems.org/gems/rake/versions/10.4.2) so intermittent rubygems issue, try again in an hour or so.

---

<div class="post-metadata">

### Author: ![Akagi201](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akagi201/32/38696_2.png) [@Akagi201](https://meta.discourse.org/u/Akagi201)
#### Post date: [February 9, 2015, 6:30am UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992/5 "2015-02-09T06:30:42Z")

</div>

Yes, you are right. After trying again, it works now.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 9, 2015, 8:38am UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992/6 "2015-02-09T08:38:26Z")

</div>


