質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Ruby on Rails 5

Ruby on Rails 5は、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

VPS

VPS(バーチャル・プライベート・サーバ)は、仮想化されたサーバをレンタルするサービスで、共有サーバでありながら専門サーバと同等の機能を果たします。物理的な専門サーバより安価で提供できるメリットがあります。

Q&A

0回答

1391閲覧

サーバーアップロードの際のエラー

退会済みユーザー

退会済みユーザー

総合スコア0

Ruby on Rails 5

Ruby on Rails 5は、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

VPS

VPS(バーチャル・プライベート・サーバ)は、仮想化されたサーバをレンタルするサービスで、共有サーバでありながら専門サーバと同等の機能を果たします。物理的な専門サーバより安価で提供できるメリットがあります。

0グッド

0クリップ

投稿2018/12/11 08:59

現在、さくら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

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問