-
Notifications
You must be signed in to change notification settings - Fork 82
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
Installed activerecord-mysql2-adapter, but mongify could not load it #138
Comments
Hey @britaramsay, Good luck, |
@anlek thanks for the solution of reverting to ruby 2.2. You are right Ruby 2.4 was culprit. I had same problem as @britaramsay on windows 10 with Ruby 2.4...what a pain on windows to get ruby app running...I am not ruby developer but experience in software development help. |
I get following date related error when I run following command Thanks for your help. C:/Ruby22/lib/ruby/gems/2.2.0/gems/bson-1.12.5/lib/bson/bson_c.rb:20:in |
I changed mysql field to timestamp to overcome date issue. It looks like it has created all the tables & rows in mongodb with following error message " mongify process database.config database_transition.rb" C:/Ruby22/lib/ruby/gems/2.2.0/gems/mongo-1.12.5/lib/mongo/db.rb:610:in |
Hi ghost. What version of mongoDB are you using? Thanks! |
Hi! Thanks for great library!!
I run
mongify check database.config
, but it said Could not load 'active_record/connection_adapters/mysql2_adapter'Could you please help me?
OS: Windows 10
Ruby version: 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]
database.config:
local gem:
Error message:
Not sure if this information helps you, but when I change
mysql2
tomysql
, I get :in rescue in spec': Specified 'mysql' for database adapter, but the gem is not loaded. Then, when I rungem install mysql
, it could not build the gem native extension.If you need more information, please let me know! I really want to import
The text was updated successfully, but these errors were encountered: