###前提・実現したいこと
$ bundle install --without production
を実行したい
###発生している問題・エラーメッセージ
ruby_dep 1.4.0
Gem::InstallError: ruby_dep requires Ruby version >= 2.2.5, ~> 2.2.
とのエラーが出ます
以下が詳しいエラーの詳細です
gem
Installing ruby_dep 1.4.0
Gem::InstallError: ruby_dep requires Ruby version >= 2.2.5, ~> 2.2.
Using lumberjack 1.0.10
Using nenv 0.3.0
Using shellany 0.0.1
Using method_source 0.8.2
Using multi_json 1.12.1
Using ruby-progressbar 1.8.1
Using sass 3.4.22
Using tilt 1.4.1 (was 2.0.5)
Using spring 1.1.3 (was 1.7.2)
Using sqlite3 1.3.9 (was 1.3.11)
Using rdoc 4.2.2
Using tzinfo 1.2.2
Using nokogiri 1.6.8
Using rack-test 0.6.3
Using mime-types 3.1
Using binding_of_caller 0.7.3.pre1 (was 0.7.2)
Using byebug 3.4.0 (was 9.0.5)
Using coffee-script 2.4.1
Using uglifier 2.5.3 (was 3.0.1)
Using sprockets 3.7.0
Using rb-inotify 0.9.7
An error occurred while installing ruby_dep (1.4.0), and Bundler cannot
continue.
Make sure that gem install ruby_dep -v '1.4.0'
succeeds before bundling.
エラーメッセージ
###該当のソースコード ```ここに言語を入力 ここにご自身が実行したソースコードを書いてください
###試したこと
ruby_dep の 1.4.0 をインストールしようと思い、
以下のようなコマンドを打ちました。
gem install ruby_dep 1.4.0
ERROR: Error installing ruby_dep:
ruby_dep requires Ruby version >= 2.2.5, ~> 2.2.
ERROR: Could not find a valid gem '1.4.0' (>= 0) in any repository
そこで、
rubyのバージョンの問題かなと思い、
2.2.5以上をインストールしようとし、
ました。
コードの中には、
Installed ruby-2.3.0
とあるので、インストールされたのかなと思ったのですが、
ruby -v
のコマンドを打つと
ruby 2.2.3p173
と表示されるので、
多分インストールもできてません。
###補足情報(言語/FW/ツール等のバージョンなど)
より詳細な情報
あなたの回答
tips
プレビュー