現在、さくらVPSを使用しており、サイト表示を行おうとしています。
サーバー設定も全て完了しているのですが、以下のように表示されて解決する事が出来ません。
おそらくgem updateを行なった時にエラーが出ているのでここが原因と思われるのですが、解決可能でしょうか?
よろしくお願い致します。
Updating installed gems Updating did_you_mean ERROR: Error installing did_you_mean: There are no versions of did_you_mean (= 1.2.1) compatible with your Ruby & RubyGems did_you_mean requires Ruby version >= 2.5.0. The current ruby version is 2.3.0. Updating mini_racer Building native extensions. This could take a while... ERROR: Error installing mini_racer: ERROR: Failed to build gem native extension. current directory: /home/smart/.rvm/gems/ruby-2.3.1/gems/mini_racer-0.2.4/ext/mini_racer_extension /home/smart/.rvm/rubies/ruby-2.3.1/bin/ruby -r ./siteconf20181211-19460-13xwss3.rb extconf.rb checking for main() in -lpthread... yes <stdin>:2:5: error: #error A compiler that supports at least C++11 is required in order to compile this project. WARNING: C++11 support is required for compiling mini_racer. Please make sure you are using a compiler that supports at least C++11. Examples of such compilers are GCC 4.7+ and Clang 3.2+. If you are using Travis, consider either migrating your build to Ubuntu Trusty or installing GCC 4.8. See mini_racer's README.md for more information. creating Makefile current directory: /home/smart/.rvm/gems/ruby-2.3.1/gems/mini_racer-0.2.4/ext/mini_racer_extension make "DESTDIR=" clean current directory: /home/smart/.rvm/gems/ruby-2.3.1/gems/mini_racer-0.2.4/ext/mini_racer_extension make "DESTDIR=" compiling mini_racer_extension.cc mini_racer_extension.cc:10:18: error: atomic: そのようなファイルやディレクトリはありません In file included from mini_racer_extension.cc:4: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:342: error: expected unqualified-id before ‘using’ /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:359: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:366: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:374: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In constructor ‘v8::Eternal<T>::Eternal()’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:403: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In constructor ‘v8::Eternal<T>::Eternal(v8::Isolate*, v8::Local<S>)’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:405: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In member function ‘bool v8::Eternal<T>::IsEmpty() const’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:410: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In constructor ‘v8::Global<T>::Global()’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:784: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:809: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:821: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: At global scope: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:847: error: expected unqualified-id before ‘using’ /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:1236: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:1241: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In constructor ‘v8::RegisterState::RegisterState()’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:1815: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: At global scope: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:2530: 警告: ISO C++ forbids declaration of ‘constexpr’ with no type /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:2530: error: expected ‘;’ before ‘int’ /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:3274: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:3894: error: ‘nullptr’ was not declared in this scope /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h: At global scope: /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:4158: error: function definition does not declare parameters /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:4218: error: expected unqualified-id before ‘&’ token /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:4218: error: expected ‘)’ before ‘&’ token /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/v8.h:4218: error: expected ‘;’ before ‘&’ token In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ostream_insert.h:36, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:46, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/locale_classes.h:42, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ios_base.h:43, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:43, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/istream:40, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/fstream:40, from /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/libplatform/v8-tracing.h:8, from /home/smart/.rvm/gems/ruby-2.3.1/gems/libv8-6.7.288.46.1-x86_64-linux/vendor/v8/include/libplatform/libplatform.h:9, from mini_racer_extension.cc:5: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘;’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected unqualified-id before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected ‘}’ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected declaration before end of line make: *** [mini_racer_extension.o] エラー 1 make failed, exit code 2 Gem files will remain installed in /home/smart/.rvm/gems/ruby-2.3.1/gems/mini_racer-0.2.4 for inspection. Results logged to /home/smart/.rvm/gems/ruby-2.3.1/extensions/x86_64-linux/2.3.0/mini_racer-0.2.4/gem_make.out Gems updated: did_you_mean mini_racer
あなたの回答
tips
プレビュー