-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add windows platform to loading sqlite3 to make testing suite pass, which caused by #1105 #1120
Conversation
34662f8
to
850c1f8
Compare
I do several time, seems ruby 200 fail is random, eIther x86/x64, guess a problem of Windows, not relative with AWS |
Nice @Eric-Guo tks! I'm merging it. |
@@ -40,5 +40,5 @@ end | |||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] | |||
|
|||
group :development, :test do | |||
gem 'rubocop', '~> 0.33.0', require: false | |||
gem 'rubocop', '~> 0.34.0', require: false |
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.
Why change to the Rubocop version?
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.
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.
@bf4 @joaomdmoura because rubocop release this version and seems no break change between 0.33 and 0.34.
😄
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.
nice 😄
Add windows platform to loading sqlite3
@@ -27,7 +27,7 @@ end | |||
|
|||
group :test do | |||
gem 'activerecord' | |||
gem 'sqlite3', platform: :ruby | |||
gem 'sqlite3', platform: [:ruby, :mingw, :x64_mingw, :mswin] |
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.
Are mingw
and x64_mingw
not included in mswin
?
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.
They are using different compiler, (mswin using Visual C++), (mingw using GCC) but should be included in all mswin, so writing mswin should enough here, although I don't known why Rails still using all of them, guess the history reason of rubygems, but not check yet.
No description provided.