Skip to content
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

Merged
merged 1 commit into from
Sep 7, 2015

Conversation

Eric-Guo
Copy link
Contributor

@Eric-Guo Eric-Guo commented Sep 7, 2015

No description provided.

@Eric-Guo Eric-Guo force-pushed the master branch 3 times, most recently from 34662f8 to 850c1f8 Compare September 7, 2015 05:43
@Eric-Guo
Copy link
Contributor Author

Eric-Guo commented Sep 7, 2015

I do several time, seems ruby 200 fail is random, eIther x86/x64, guess a problem of Windows, not relative with AWS

@joaomdmoura
Copy link
Member

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
Copy link
Member

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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.

😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 😄

joaomdmoura added a commit that referenced this pull request Sep 7, 2015
Add windows platform to loading sqlite3
@joaomdmoura joaomdmoura merged commit 1388ae8 into rails-api:master Sep 7, 2015
@@ -27,7 +27,7 @@ end

group :test do
gem 'activerecord'
gem 'sqlite3', platform: :ruby
gem 'sqlite3', platform: [:ruby, :mingw, :x64_mingw, :mswin]
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants