Comments (6)
log the caller of version.rb:4, 5, 6, 7, 8, etc...
Maybe there's a fine detail difference in how it's being required...
from manageiq-schema.
This happens on Ruby 2.3 as well
from manageiq-schema.
@jrafanie Thoughts?
from manageiq-schema.
Such as require vs. require_relative or require with FQ path vs. relative, etc.
from manageiq-schema.
Figured it out. So, I noticed this happened specifically with rake spec:migrations:complete_up
and rake spec:migrations:complete_down
. Those are suspicious because they shell out to another rake task, then wait for that subprocess to complete. However, all they do in the subprocess is a bundle exec rake db:migrate
. So, I tried running just that, and I don't get the warnings. This led me to conclude that is not the rake task, but the act of shelling out. Then, I remembered ye olde Bundle.with_clean_env, and this worked. Bundler somehow messes with the env causing rake to use the pure stdlib json, but activerecord to use the json gem.
from manageiq-schema.
Bundler somehow messes with the env causing rake to use the pure stdlib json, but activerecord to use the json gem.
Wow, yuck but cool!
from manageiq-schema.
Related Issues (20)
- Add a spec that verifies that stub models have inheritance check HOT 2
- Interrupting migration during 20150806211453 leaves DB un-migratable HOT 3
- Add unique index to tags and/or classifications table HOT 8
- remove CINDER storage object HOT 9
- Unique index on security_groups_vms HOT 2
- db:seed tries to touch a non-existent arbitration_settings table HOT 3
- [V2V] Create conversion hosts for appropriately tagged vms HOT 4
- Database migration fails with unknown migration version 5.1 HOT 1
- Missing migrations for hawkular removal HOT 6
- Migration has a too long of name HOT 4
- Avoid using hardcoded number literals for ids in specs HOT 4
- Remove the RedHat Automate domain.
- Missing benchmark timing around 'Seeding :schema_migrations_ran table' HOT 3
- The `rails generate migration` command should also generate a spec file HOT 5
- Update collapsed initial migration
- Displaying notifications causes ActiveRecord::Attribute error HOT 6
- [RFE] Speed up `rake test:vmdb:setup` HOT 14
- Custom tables break db:migrate HOT 5
- Change rake tasks so that rake spec does everything HOT 2
- Refetching the shallow clone fails on occasion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manageiq-schema.