Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Figured it out. Woo Hoo!</p> <p>Summary: Ruby Enterprise Edition (update, thanks Hongli!) has its own set of gems. Even though I was updating the gem, it wasn't the one that Passenger was reading. </p> <p>Here's how I figured that out:</p> <pre><code>&gt;&gt; /usr$ whereis gem gem: /usr/bin/gem /usr/bin/gem1.8 /opt/ruby-enterprise-1.8.6-20090201/bin/gem &gt;&gt; /usr$ cd /opt/ruby-enterprise-1.8.6-20090201/bin/ &gt;&gt; /opt/ruby-enterprise-1.8.6-20090201/bin$ ls -l total 2624 -rwxr-xr-x 1 root root 3907 2009-03-26 14:47 erb -rwxr-xr-x 1 root root 813 2009-03-26 14:47 gem -rwxr-xr-x 1 root root 349 2009-03-26 14:47 irb -rwxr-xr-x 1 root root 386 2009-03-26 14:47 passenger-config -rwxr-xr-x 1 root root 402 2009-03-26 14:47 passenger-install-apache2-module -rwxr-xr-x 1 root root 396 2009-03-26 14:47 passenger-make-enterprisey -rwxr-xr-x 1 root root 392 2009-03-26 14:47 passenger-memory-stats -rwxr-xr-x 1 root root 392 2009-03-26 14:47 passenger-spawn-server -rwxr-xr-x 1 root root 386 2009-03-26 14:47 passenger-status -rwxr-xr-x 1 root root 391 2009-03-26 14:47 passenger-stress-test -rwxr-xr-x 1 root root 366 2009-03-26 14:47 rackup -rwxr-xr-x 1 root root 367 2009-03-26 14:47 rails -rwxr-xr-x 1 root root 364 2009-03-26 14:47 rake -rwxr-xr-x 1 root root 1560 2009-03-26 14:47 rdoc -rwxr-xr-x 1 root root 64 2009-03-26 14:46 ree-version -rwxr-xr-x 1 root root 1516 2009-03-26 14:47 ri -rwxr-xr-x 1 root root 2609905 2009-03-26 14:46 ruby -rwxr-xr-x 1 root root 178 2009-03-26 14:47 testrb &gt;&gt; /opt/ruby-enterprise-1.8.6-20090201/bin$ ./gem list *** LOCAL GEMS *** actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource (2.3.2) activesupport (2.3.2) fastthread (1.0.5) passenger (2.1.2) postgres (0.7.9.2008.01.28) rack (0.9.1) rails (2.3.2) rake (0.8.4) sqlite3-ruby (1.2.4) &gt;&gt; /opt/ruby-enterprise-1.8.6-20090201/bin$ ./gem install mysql Building native extensions. This could take a while... Successfully installed mysql-2.7 1 gem installed </code></pre> <p>Then, I restarted the instance, and it worked.</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