update Gemfile

This commit is contained in:
邱博亞 2023-04-08 14:00:35 +08:00
parent d67d357231
commit 97e19c232e
1 changed files with 10 additions and 6 deletions

View File

@ -2,15 +2,15 @@ begin
require ::File.expand_path('../app/helpers/bundler_helper.rb', __FILE__)
extend BundlerHelper
rescue LoadError
def bundler_with_clean_env
if block_given?
def bundler_with_clean_env(&block)
if block_given?
if Bundler.respond_to?(:with_unbundled_env)
Bundler.with_unbundled_env(&Proc.new)
Bundler.with_unbundled_env(&block)
else
Bundler.with_clean_env(&Proc.new)
Bundler.with_clean_env(&block)
end
end
end
end
end
source 'https://rubygems.org'
#update all site!!!!!!!!
@ -186,7 +186,6 @@ else
gem 'sdoc', group: :doc
gem 'spring', group: :development
gem 'active_model_serializers', '~> 0.10.0'
gem 'rails', '5.2.7'
gem 'railties'
gem 'rss'
#parser
@ -248,6 +247,11 @@ else
gem "minitest"
gem 'minitest-spec-rails'
end
if RUBY_VERSION.to_f < 3
gem 'rails', '5.2.7'
else
gem 'rails', '7.0.4.3'
end
end
gem 'net_http_unix'
gem 'roda', '3.66.0'