title: Unhandled exception when running Jekyll 4.0.0 using Bundler 1.17.2
body: <p>I'm trying to set up automated deploys for Jekyll on my server, based on the <a href="https://jekyllrb.com/docs/deployment/automated/#git-post-receive-hook" rel="nofollow noreferrer">instructions here</a>. Whenever I run Jekyll commands on the server I get the following output:</p>
  
  <pre><code>$ bundle install &amp;&amp; bundle exec jekyll -v
  (bundle install output)
  Bundle complete! 6 Gemfile dependencies, 30 gems now installed.
  Use `bundle info [gemname]` to see where a bundled gem is installed.
  
  Traceback (most recent call last):
      23: from /home/nk42/gems/bin/ruby_executable_hooks:24:in `&lt;main&gt;'
      22: from /home/nk42/gems/bin/ruby_executable_hooks:24:in `eval'
      21: from /home/nk42/gems/bin/jekyll:23:in `&lt;main&gt;'
      20: from /home/nk42/gems/bin/jekyll:23:in `load'
      19: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-4.0.0/exe/jekyll:8:in `&lt;top (required)&gt;'
      18: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-4.0.0/exe/jekyll:8:in `require'
      17: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-4.0.0/lib/jekyll.rb:206:in `&lt;top (required)&gt;'
      16: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-4.0.0/lib/jekyll.rb:206:in `require'
      15: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-sass-converter-2.0.1/lib/jekyll-sass-converter.rb:4:in `&lt;top (required)&gt;'
      14: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-sass-converter-2.0.1/lib/jekyll-sass-converter.rb:4:in `require'
      13: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-sass-converter-2.0.1/lib/jekyll/converters/scss.rb:3:in `&lt;top (required)&gt;'
      12: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/jekyll-sass-converter-2.0.1/lib/jekyll/converters/scss.rb:3:in `require'
      11: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc.rb:31:in `&lt;top (required)&gt;'
      10: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc.rb:31:in `require_relative'
       9: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:5:in `&lt;top (required)&gt;'
       8: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:6:in `&lt;module:SassC&gt;'
       7: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:37:in `&lt;module:Native&gt;'
       6: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native.rb:37:in `require_relative'
       5: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb:3:in `&lt;top (required)&gt;'
       4: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb:4:in `&lt;module:SassC&gt;'
       3: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb:5:in `&lt;module:Native&gt;'
       2: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb:10:in `&lt;module:LibC&gt;'
       1: from /home/nk42/.rvm/gems/ruby-2.6.3/gems/ffi-1.11.3/lib/ffi/library.rb:275:in `attach_function'
  /home/nk42/.rvm/gems/ruby-2.6.3/gems/ffi-1.11.3/lib/ffi/library.rb:275:in `attach': unhandled exception
  </code></pre>
  
  <p>I get the same output whether I use <code>bundle exec jekyll ...</code> or just <code>jekyll ...</code>, and it happens no matter what directory I'm in.</p>
  
  <p>I'm able to run the same thing on my computer locally and it works. On both my computer and the server I'm running the following:</p>
  
  <ul>
  <li>rvm 1.29.9 (autolibs is disabled)</li>
  <li>ruby 2.6.3p62</li>
  <li>gem 3.0.3</li>
  <li>Bundler version 2.0.2</li>
  <li>Jekyll 4.0.0</li>
  </ul>
  
  <p>The server is a Dreamhost Shared Hosting account, which runs Ubuntu 18.04, and I set up RVM using the instructions on <a href="https://help.dreamhost.com/hc/en-us/articles/217185247-Ruby-Version-Manager-RVM-" rel="nofollow noreferrer">Dreamhost's help page</a>.</p>
  
  <p>I suspect this is an issue with the Ruby/RVM installation, since the same project works locally, but I'm not sure how to debug this or where to look for information. Any pointers would be greatly appreciated.</p>