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

pg_ext on mac x86_64? #168

Closed
ged opened this issue Jul 22, 2013 · 6 comments
Closed

pg_ext on mac x86_64? #168

ged opened this issue Jul 22, 2013 · 6 comments

Comments

@ged
Copy link
Owner

ged commented Jul 22, 2013

Original report by alan kaiser (Bitbucket: rednaxus, GitHub: rednaxus).


Repeated problems on different machines with this:
e.g.
rake db:drop
rake aborted!
cannot load such file -- pg_ext
/Users//.rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require' /Users/<me>/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in block in require'
/Users//.rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in load_dependency' /Users/<me>/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in require'

etc.
anybody know the resolution??

No, it doesn't help to uninstall the gem and install it again

@ged
Copy link
Owner Author

ged commented Jul 22, 2013

Original comment by alan kaiser (Bitbucket: rednaxus, GitHub: rednaxus).


Hey, this only occurs for Ruby 2.x.x, i went back to version 1.9.3 and everything is ok

@ged
Copy link
Owner Author

ged commented Jul 23, 2013

Original comment by Андрей Кулаков (Bitbucket: 8xx8, GitHub: 8xx8).


Same problem with Debian Linux 2.6.32-5-amd64 #1 SMP Fri Feb 15 15:39:52 UTC 2013 x86_64 GNU/Linux and PostgreSQL 9.2.4

@ged
Copy link
Owner Author

ged commented Jul 23, 2013

Original comment by Michael Granger (Bitbucket: ged, GitHub: ged).


@rednaxus : What files are in /Users/<you>/.rvm/gems/ruby-2.0.0-p247/gems/pg-0.15.1/lib? You should see a pg.rb, a pg_ext.bundle, and a pg directory.

Also, would you mind running the "Minimal Test Case" from the Submitting a Ticket page (after making any necessary changes to make it work in your environment) and posting the output? Does it do the same thing?

@ged
Copy link
Owner Author

ged commented Sep 13, 2013

Original comment by Gene Black (Bitbucket: geblack, GitHub: geblack).


Similar issue on Ubuntu, pg 0.16 works under Ruby 1.9.3 but cannot find pg_ext when using Ruby 2.0.0. Sorry, I don't have access to the machine right now to post any diagnostics.

@ged
Copy link
Owner Author

ged commented Sep 14, 2013

Original comment by Lars Kanis (Bitbucket: larskanis, GitHub: larskanis).


@geblack has solved this by updating rubygems and bundler. See issue #172. Can you confirm this solution?

@ged
Copy link
Owner Author

ged commented Nov 18, 2013

Original comment by Lars Kanis (Bitbucket: larskanis, GitHub: larskanis).


No response, so I close the issue in the hope it was solved.

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

No branches or pull requests

1 participant