Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've had similar issues on OS X. Mainly because of different versions of Ruby installed. Or the built-in version fighting with versions I've installed myself. </p> <p>Things to check:</p> <p><ol> <li>type <code>which ruby</code> in a terminal</li> <li>does the output make sense with what you have installed?</li> <li>are you using any Ruby managers (like <a href="https://rvm.io//" rel="nofollow">rvm</a> or <a href="https://github.com/sstephenson/rbenv/" rel="nofollow">rbenv</a>)?</li> <li>if so, check your paths in <code>/.bash_profile</code> or <code>/.bashrc</code> to see where they point. <a href="http://kakubei.blogspot.com.es/2012/04/ruby-managers.html" rel="nofollow">This link</a> might help with installing and configuring rbenv.</li> <li>I use rbenv so I have this in my <code>bash_profile</code> before any other <strong>$PATH</strong> declarations to make sure it grabs those executables first:</p> <blockquote> <p>export PATH="$HOME/.rbenv/bin:$PATH"</li> <li>what does <code>gem env</code> say? Is it the right path?</li> <li>I run Ruby 1.9.3 locally but have to deal with 1.8.7 remotely because of issues with our hosting company so I have both versions installed locally. I forget to update the <code>bundle install</code> for the right version of Ruby command and scratch my head when I get errors like the one you are seeing. Hopefully you don't have this problem, but I'm just pointing it out in case it leads you down the right path. </li> <li>does <code>bundle exec rails console</code> or <code>bundle exec rails server</code> do the same thing as <code>rails console</code> and <code>rails server</code> respectively?</li> <li>If they don't, where are you installing the bundles? Simply <code>bundle install</code> or <code>bundle install --path vendor/bundle</code>?</li> </ol> Hopefully some of this will help you pinpoint the problem. </p> </blockquote> <p>If you're getting desperate, remove the built-in version of Ruby and install a fresh version with either rvm or rbenv (I prefer rbenv after having lots of problems with rvm) and try again to see if that works. </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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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