-
Notifications
You must be signed in to change notification settings - Fork 156
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
initialize': undefined method
connect' for PG:Module on OSX
#80
Comments
I've been continuing to research this and play around with the code. Seems like the problem goes away when the 'postgres-pr' gem is excluded from the Gemfile. Looks like these gems conflict in their definition of the PG namespace. |
Can you create a Pull Request with the suggested fix? |
+1, OSX, Yosemite, Ruby 2.1.7 / RVM
|
+1 |
+1, OSX, Yosemite, Ruby 2.1.7 / RVM Any updates on this?
|
+1, thanks for ths repo! |
I have a very similar issue on El Capitan
|
Same here
|
I get the same error as lucandrade. |
All I can say is that Pull Requests are more than welcome, as I do not have the resources for doing this at the moment |
Did anyone ever figure this out? Getting same error as @lucandrade |
This dependency is only used if RUBY_ENVIRONMENT=="JAVA", which is not the case for me.
I followed the advice of removing references to the See: https://github.com/brettimus/mysql2postgres/tree/issue_80_workaround After hitting issue #73, was able to get it to work. (This comment had the fix that did the trick for me.) Worth noting: if you run the command from your terminal, the "environment" defaults to "development". I.e., the script will try to access the postgres database defined under the development key in your config file. If you want to change that, you should specify a E.g., running RAILS_ENV=production mysqltopostgres config.yml Would use the "production" database defined below: mysql2psql:
mysql:
<<: *pii
destination:
production:
<<: *production
|
I'm using ruby 1.9.3-p551 with RVM on an OSX Yosemite installation. Keep running into this error:
Never seen that error before this task I'm doing, and I can't seem to find it referenced online.
The text was updated successfully, but these errors were encountered: