-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to rails6.1.6 + ruby3.0.4 #425
base: develop
Are you sure you want to change the base?
Conversation
ec11bf6
to
caeec4e
Compare
f022c1c
to
d150f1d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@telsaiori .idea 目錄下的那些是什麼?
Gemfile
Outdated
gem 'tyr', path: 'tyr' | ||
|
||
gem 'activerecord-postgis-adapter' | ||
gem 'activerecord-postgis-adapter', '~> 7.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其實 tyr.gemspec 裡面已經有了
應該以 tyr 的為主, rails 本身就不用再追加這個 gem 了
app/assets/config/manifest.js
Outdated
//= link favicon/manifest.json | ||
//= link favicon/browserconfig.xml | ||
//= link application.js | ||
//= link application.css |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//= link_tree ../images
感覺會需要?
@telsaiori 我看了一下 railsdiff https://railsdiff.org/5.2.8/6.1.6
|
fdd12bd
to
d56ce1e
Compare
那些是我的編輯器會自動產生的東西不小心把他丟上來,我砍掉了。
1.
|
rails 版本: 6.1.6
ruby 版本: 3.0.4
bundle update redis
,解決想要跑任何東西都會跳下面錯誤bundle update rails
Fix Gemfile dependencies
activerecord-postgis-adapter
改用'activerecord-postgis-adapter', '~> 7.1'
gem 'bootsnap', '>= 1.12.0', require: false
來修正問題app/assets/config/manifest.js
檔,解決Expected to find a manifest file
錯誤,並新增以下到manifest檔案裡面DEPRECATION WARNING: action_view.raise_on_missing_translations is deprecated
: test.rb 改成config.i18n.raise_on_missing_translations = true