Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku with ruby 1.9.3 causing many different crashes
    text
    copied!<p>I go to redeploy my heroku apps with a new gem in Gemfile and it crashes on startup </p> <pre><code>/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require': libruby.so.1.9: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/1.9.1/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.so (LoadError) </code></pre> <p>This is happening no matter what branch I deploy (old stable ones...) and only fixes by doing a <code>heroku rollback</code>.</p> <p>I believe this is caused by heroku recently updating their ruby 1.9.3 because I was having this issue <a href="https://stackoverflow.com/questions/12880632/heroku-app-crashes-with-libruby-so-1-9-cannot-open-shared-object-file">Heroku app crashes with &#39;libruby.so.1.9: cannot open shared object file&#39;</a> . Removing the nokogiri gem stopped the exception I was getting but then there's still this. More similar errors occur when I add new gems. </p> <p>The whole problem was solved by deploying to a new heroku app but that's not something I can just do on my production server. </p> <p>Any ideas on fixing the issue or somehow "refreshing" my app?</p> <p>my gemfile:</p> <pre><code>source "https://rubygems.org" ruby "1.9.3" gem "rails", "3.2.3" gem "thin" # Bundle edge Rails instead: # gem "rails", :git =&gt; "git://github.com/rails/rails.git" gem "mongoid" gem "devise" gem "haml" gem "sass" gem "exceptional" gem "kaminari" gem "mongoid_search" #gem "nokogiri" gem "bson_ext" gem "heroku-mongo-backup" gem "aws-s3" # Gems used only for assets and not required # in production environments by default. group :assets do gem "haml-rails", "~&gt; 0.3.4" gem "sass-rails", "~&gt; 3.2.3" gem "coffee-rails", "~&gt; 3.2.1" # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem "therubyracer", :platform =&gt; :ruby gem "uglifier", "&gt;= 1.0.3" end gem "jquery-rails" group :test do gem "mongoid-rspec" end # To use ActiveModel has_secure_password # gem "bcrypt-ruby", "~&gt; 3.0.0" # To use Jbuilder templates for JSON # gem "jbuilder" # Use unicorn as the app server # gem "unicorn" # Deploy with Capistrano # gem "capistrano" # To use debugger # gem "ruby-debug19", :require =&gt; "ruby-debug" # group :development do gem "letter_opener" end </code></pre>
 

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