Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is due to the fact that OS X 10.9+ is using version 4.8 of GCC. This is not supported officially in older versions of libv8 as mentioned in the pull request (<a href="https://github.com/cowboyd/libv8/pull/95" rel="noreferrer">https://github.com/cowboyd/libv8/pull/95</a>). Please try bumping up the version of libv8 in your Gemfile (or) a <code>bundle update</code> should suffice. Hope this helps.</p> <p>From the libv8 <a href="https://github.com/cowboyd/libv8#bring-your-own-compiler" rel="noreferrer">README</a></p> <p><strong>Bring your own V8</strong></p> <p>Because libv8 is the interface for the V8 engine used by therubyracer, you may need to use libv8, even if you have V8 installed already. If you wish to use your own V8 installation, rather than have it built for you, use the --with-system-v8 option.</p> <p>Using RubyGems:</p> <blockquote> <p>gem install libv8 [-v YOUR_VERSION] -- --with-system-v8</p> </blockquote> <p>Using Bundler (in your Gemfile):</p> <blockquote> <p>bundle config build.libv8 --with-system-v8</p> </blockquote> <p>Please note that if you intend to run your own V8, you must install both V8 and its headers (found in libv8-dev for Debian distros).</p> <p><strong>Bring your own compiler</strong></p> <p>You can specify a compiler of your choice by either setting the CXX environment variable before compilation, or by adding the --with-cxx= option to the bundle configuration:</p> <blockquote> <p>bundle config build.libv8 --with-cxx=clang++</p> </blockquote> <p>Edit:</p> <p>If this issue is brought on by <code>therubyracer</code>, try the following as suggested by <a href="https://stackoverflow.com/users/1197091/rider-on-rails">rider_on_rails</a> <a href="https://stackoverflow.com/questions/23536893/installing-libv8-and-therubyracer-gems-on-mavericks-with-system-v8-installation">here</a>:</p> <blockquote> <p>gem uninstall libv8</p> <p>gem install therubyracer -v YOUR_RUBY_RACER_VERSION</p> <p>gem install libv8 -v YOUR_VERSION -- --with-system-v8</p> </blockquote>
 

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