From d9e22bb18c6cf4ebc8d0743b1b66faee434cc8d5 Mon Sep 17 00:00:00 2001 From: James Mead Date: Mon, 13 Apr 2015 16:59:25 +0100 Subject: [PATCH] Update libv8 to fix error on bundle install on OS X Yosemite I was seeing the following error when running `bundle install`: Unable to find a compiler officially supported by v8. It is recommended to use GCC v4.4 or higher Using compiler: g++ This then seems to have resulted in the following compilation error: ../src/cached-powers.cc:136:18: error: unused variable 'kCachedPowersLength' [-Werror,-Wunused-const-variable] static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers); ^ I believe the problem was fixed [1] between version 3.16.14.3 and version 3.16.14.7 of libv8 and a simple `bundle update libv8` seems to have done the trick. [1]: https://github.com/cowboyd/libv8/pull/124 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a24cb50f9..9ee990108 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -79,7 +79,7 @@ GEM journey (1.0.4) json (1.8.1) kgio (2.7.4) - libv8 (3.16.14.3) + libv8 (3.16.14.7) link_header (0.0.7) logstash-event (1.1.5) logstasher (0.4.8)