Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Bash

Heroku db:pull not working.

1
2
3
4
5
6
7
air ~/Code/finisht
○ heroku db:pull
 !    Taps Load Error: cannot load such file -- taps/operation
 !    You may need to install or update the taps gem to use db commands.
 !    On most systems this will be:
 !    
 !    sudo gem install taps
https://snipt.net/embed/14dd638b6546580d2cb72cb3a660dfb3/
https://snipt.net/raw/14dd638b6546580d2cb72cb3a660dfb3/
14dd638b6546580d2cb72cb3a660dfb3
bash
Bash
7
2016-12-08T06:12:52
True
False
False
Oct 21, 2012 at 02:25 PM
/api/public/snipt/48850/
heroku-dbpull-not-working
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>air ~/Code/finisht </span><span id="L-2"><a name="L-2"></a>○ heroku db:pull </span><span id="L-3"><a name="L-3"></a> ! Taps Load Error: cannot load such file -- taps/operation </span><span id="L-4"><a name="L-4"></a> ! You may need to install or update the taps gem to use db commands. </span><span id="L-5"><a name="L-5"></a> ! On most systems this will be: </span><span id="L-6"><a name="L-6"></a> ! </span><span id="L-7"><a name="L-7"></a> ! sudo gem install taps </span></pre></div> </td></tr></table>
heroku

Text only

Procfile.dev

1
2
3
web: python app.py
memcached: memcached -v
coffee: coffee --watch --output static/js/ --compile lib/
https://snipt.net/embed/38c6afe1bfed9710b1b2daf479abe9fd/
https://snipt.net/raw/38c6afe1bfed9710b1b2daf479abe9fd/
38c6afe1bfed9710b1b2daf479abe9fd
text
Text only
3
2016-12-10T12:14:52
True
False
False
/api/public/snipt/40417/
procfiledev
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>web: python app.py </span><span id="L-2"><a name="L-2"></a>memcached: memcached -v </span><span id="L-3"><a name="L-3"></a>coffee: coffee --watch --output static/js/ --compile lib/ </span></pre></div> </td></tr></table>
foreman, heroku

Bash

heroku db

1
2
3
# Heroku DB commands
heroku db:pull --app project-production
heroku db:push --app project-staging
https://snipt.net/embed/2ba421bb85e03d8850e5b7e1997b4197/
https://snipt.net/raw/2ba421bb85e03d8850e5b7e1997b4197/
2ba421bb85e03d8850e5b7e1997b4197
bash
Bash
3
2016-12-08T06:13:48
True
False
False
/api/public/snipt/19310/
heroku-db
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c1"># Heroku DB commands</span> </span><span id="L-2"><a name="L-2"></a>heroku db:pull --app project-production </span><span id="L-3"><a name="L-3"></a>heroku db:push --app project-staging </span></pre></div> </td></tr></table>
db, heroku
Copyrighted, illegal, or inappropriate content? Email [email protected].