###前提・実現したいこと
ruby on railsにおいて、ログイン機能を実装したいと思っています。
まず、Gemfileに
gem 'devise','3.5.1'を入力し、ターミナルにbundle installを入力したところうまくいきません。
###発生している問題・エラーメッセージ
$ bundle install Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Resolving dependencies... Bundler could not find compatible versions for gem "railties": In snapshot (Gemfile.lock): railties (= 5.0.0.1) In Gemfile: coffee-rails (~> 4.2) was resolved to 4.2.1, which depends on railties (< 5.2.x, >= 4.0.0) devise (= 3.5.1) was resolved to 3.5.1, which depends on railties (< 5, >= 3.2.6) jquery-rails was resolved to 4.2.1, which depends on railties (>= 4.2.0) rails (>= 5.0.0.1, ~> 5.0.0) was resolved to 5.0.0.1, which depends on railties (= 5.0.0.1) devise (= 3.5.1) was resolved to 3.5.1, which depends on responders was resolved to 2.3.0, which depends on railties (< 5.1, >= 4.2.0) sass-rails (~> 5.0) was resolved to 5.0.6, which depends on railties (< 6, >= 4.0.0) web-console was resolved to 3.3.1, which depends on railties (>= 5.0) Running `bundle update` will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.
###試したこと
ここから進みようがなく、まだ何もできていません。
###補足情報(言語/FW/ツール等のバージョンなど)
より詳細な情報
・Ruby on rails 2.3.0
・Mac OS X El Capitan 10.11.6
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/10/02 06:20