Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Finally got this to work with help from Dosha's answer <a href="https://github.com/ricardochimal/taps/issues/92#issuecomment-11996909" rel="nofollow">here</a>.</p> <p>Make sure your version of ruby matches the version running on Heroku. It seems like 1.9.2 is the stablest version for these migrations.</p> <p>Change your gemfile to have the following (assuming you're using SQLite):</p> <pre><code>group :development do gem 'taps', :require =&gt; false gem 'sqlite3' end </code></pre> <p>This likely still does not resolve your problem because your <code>heroku db:push</code> command is using the Heroku toolbar instead of the older, now-deprecated heroku gem. Unfortunately, we actually want the older gem, but the Heroku Toolbar is being called by <code>heroku</code>. To get around this, you will need to install the heroku gem on your version of ruby 1.9.2 and then access it by its specific filepath. </p> <p>So, the next steps show how you can get this to work:</p> <p>Run the following commands into your console:</p> <pre><code>rvm install ruby-1.9.2-p320 rvm use ruby-1.9.2-p320 bundle install` sudo gem install heroku --no-ri --no-rdoc </code></pre> <p>Then run:</p> <pre><code>rake assets:clean bundle exec rake assets:precompile </code></pre> <p>Commit your changes to Github. </p> <p>Then enter the following into your console:</p> <p><code>~/.rvm/gems/ruby-1.9.2-p320/gems/heroku-2.40.0/bin/heroku db:push</code> (Use your own filepath, if it's different from this.)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload