# ./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:** [Février 9, 2015, 4:12 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:** 1\
**Showing post:** 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:** [Février 9, 2015, 4:12 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

```

---

_[View the full topic](https://meta.discourse.org/t/launcher-bootstrap-app-fails-with-could-not-find-rake/24992)._
