Note that there are some explanatory texts on larger screens.

plurals
  1. PORuby version is not upgrading on Heroku
    primarykey
    data
    text
    <p>I have upgraded my application from ruby 1.9.2 to ruby 1.9.3 on heroku.</p> <p>I followed the article on heroku about it: <a href="https://devcenter.heroku.com/articles/ruby-versions" rel="nofollow">https://devcenter.heroku.com/articles/ruby-versions</a></p> <p>When I deployed my application, I didn't get any error:</p> <pre><code>&gt; -----&gt; Ruby/Rails app detected &gt; -----&gt; Using Ruby version: ruby-1.9.3 &gt; -----&gt; Installing dependencies using Bundler version 1.2.0.rc.2 Running: bundle install --without development:test --path &gt; vendor/bundle --binstubs bin/ --deployment Fetching gem metadata from &gt; http://rubygems.org/....... Fetching gem metadata from &gt; http://rubygems.org/.. Using rake (0.9.2.2) Using i18n (0.6.0) &gt; .............. &gt; -----&gt; Discovering process types Procfile declares types -&gt; worker Default types for Ruby/Rails -&gt; console, rake, web &gt; -----&gt; Compiled slug size is 27.0MB &gt; -----&gt; Launching... done, v157 http://riskyshower.herokuapp.com deployed to Heroku </code></pre> <p>But the application can't be launched properly, if I tail the logs, I see the following:</p> <pre><code>2012-08-16T10:21:26+00:00 heroku[router]: Error H10 (App crashed) -&gt; GET my_domain.me/ dyno= queue= wait= service= status=503 bytes= 2012-08-16T10:21:27+00:00 heroku[router]: Error H10 (App crashed) -&gt; GET my_domain.me/favicon.ico dyno= queue= wait= service= status=503 bytes= </code></pre> <p>I can't get any more info to tell me what is wrong, but I guess Ruby hasn't been upgraded properly, because when I do :</p> <pre><code>heroku run "ruby -v" Running ruby -v attached to terminal... up, run.1 ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] </code></pre> <p>When it's supposed to be 1.9.3</p> <p>At the top of my Gemfile I have:</p> <pre><code>source 'http://rubygems.org' ruby '1.9.3' </code></pre> <p>I'm using the latest version of bundler:</p> <pre><code>bundle -v Bundler version 1.2.0.rc.2 </code></pre> <p>And I have the correct path to ruby I guess (like in the article):</p> <pre><code>heroku config -s | grep PATH PATH=vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:bin </code></pre> <p>Any idea on what I should run to force the upgrade to Ruby 1.9.3?</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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