Ruby on rails Can';t检查我的rails版本

Ruby on rails Can';t检查我的rails版本,ruby-on-rails,Ruby On Rails,当我在控制台中键入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安装对我没有帮助,删除gemfile.lock也对我没有帮助。 我怎样才能修理它 当然,bundle安装对我没有帮助,删除gemfile

当我在控制台中键入
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安装对我没有帮助,删除gemfile.lock也对我没有帮助。 我怎样才能修理它

当然,bundle安装对我没有帮助,删除gemfile.lock也对我没有帮助。 我怎样才能修理它

我的档案:

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

你能提供更多的信息吗?你添加了Desive gem了吗?我在Gemfile文件中添加了这个gem'Desive','~>4.2','>=4.2.1'只需添加
gem'Desive'
并运行bundlenow:not find gem'Desive java'你能提供gem文件吗?