当我在控制台中输入rails -v
时,系统会返回我:
not find gem 'devise (>= 4.2.1, ~> 4.2) java' in any of the gem sources listed in your Gemfile.?
`bundle install` to install missing gems.?
当然bundle install
对我没有帮助,删除gemfile.lock也没有帮助我。
我怎么修理它?
当然bundle install
对我没有帮助,删除gemfile.lock也没有帮助我。
我怎么修理它?
我的gemfile:
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
gem 'rails', '~> 5.0.2'
gem 'puma', '~> 3.0'
gem 'uglifier', '>= 1.3.0'
gem 'bootstrap-sass', '~> 3.3', '>= 3.3.7'
gem 'devise'
group :development, :test do
gem 'byebug', platform: :mri
end
group :development do
gem 'web-console', '>= 3.3.0'
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg', '0.18.2'
gem 'rails_12factor', '0.0.3'
end