-
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
Error while running on windows #183
Comments
Hello @arthurvaverko, this is because Rails 4.2 will not run on Ruby 2.7. Try downgrading your ruby version to Let me know if you still have issues |
thansk .. im kinda new to ruby .. so i moved to using a docker file .. FROM ruby:2.4
LABEL MAINTAINER="Arthur Vaverk <[email protected]>"
RUN gem install activerecord -v 4.2 && \
gem install activesupport -v 4.2 && \
gem install bson -v 1.10.2 && \
gem install bson_ext -v 1.10.2 && \
gem install highline -v 1.6.1 && \
gem install mongo -v 1.10.2 && \
gem install mysql2 -v 0.3.21 && \
gem install mongify -v 1.3.0 && \
gem install mongify-mongoid -v 1.0.4
RUN apt update && apt install wget && \
apt install build-essential && \
apt install libc6-dev
RUN gem install tiny_tds -v 0.7.0
RUN mkdir -p /mongify
WORKDIR /mongify
CMD ["mongify", "-h"] and my database.config file is sql_connection do
adapter "tiny_tds"
host "10.10.10.10"
username "sa"
password "password"
database "Users"
end
mongodb_connection do
host "localhost"
database "Users"
end I'm trying to use tiny_tds to get data form MS Sql Server.. and i run the dockerfile like this
and getting a new error
|
Try rolling the Ruby version back a bit more. Maybe 2.2? I'll run your docker setup when I get some time to check it out. |
after rolling too 2.2 im getting this
if tiny_tds is not supported any way to migrate from ms sql server to mongo using this tool ? |
Your error now is related to using tiny_tds. gem install tiny_tds
gem install activerecord-sqlserver-adapter More details are available here: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter |
I'm trying to run
mongify check database.config
and getting this:
The text was updated successfully, but these errors were encountered: