PG pg_ext load error in rails
Posted question on the official Gem page:
https://bitbucket.org/ged/ruby-pg/issue/192/pg_ext-load-error
As per the suggestion, I installed the pre-version of the next release. That gave me another error which was solved using:
https://github.com/tzinfo/tzinfo/wiki/Resolving-TZInfo::DataSourceNotFound-Errors
TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows
Posting the answer to help people facing similar problems in the future.
Redmine/Ruby/Rails/Postgresql - cannot load such file -- pg_ext
I solved my problem:
Had my *pg_ext.so* file under:
/usr/local/share/gems/gems/pg-0.15.1/ext/
Copied it to:
/usr/local/share/gems/gems/pg-0.15.1/lib/
Cannot load pg_ext file
Reinstalling rubygems(2.0.3) and rails(4.0.0) solved the problem.
Error while configuring Ruby on Rails - pg_ext (LoadError) on Windows
Just use bundle update
at ur ruby console
Related Topics
How to Set a Hook to Run Code at the End of a Ruby Class Definition
Change Default Date Format in Ruby on Rails
Why Don't More Projects Use Ruby Symbols Instead of Strings
/Config/Initializers/Secret_Token.Rb Not Being Generated. Why Not
Error in Celluloid Gem Installation
How to Batch Convert Mp4 Files to Ogg with Ffmpeg Using a Bash Command or Ruby
Rails Fastercsv "Unquoted Fields Do Not Allow \R or \N"
What Is the Standalone Splat Operator (*) Used for in Ruby
Rails Routes: Wrong Singular for Resources
Adding a Background Image in Ruby on Rails 2 in CSS
Sass Variables Not Parsing Correctly - Undefined Variable: "$Ct-White"
How to Create Dynamic CSS in Rails
Ruby on Rails - Link_To Button/Css
Using SASS with User-Specified Colors