similar to: PostgreSQL gem for Ruby (pg) problem!

Displaying 20 results from an estimated 1000 matches similar to: "PostgreSQL gem for Ruby (pg) problem!"

2012 Oct 10
1
Rubymine Install Missing Gems
Hello All, I am using JRuby in Linux Ubuntu 10.10. In Rubymine IDE, I am getting as "Install Missing Gems" link. After clicking on that link, I am getting this error :- Installing pg (0.14.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. checking for pg_config... yes Using config values from /usr/bin/pg_config
2012 Sep 18
13
pg gem error
gem install pg give the following error, please help how can i solve this Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /home/saravanan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for pg_config... yes Using config values from /usr/bin/pg_config checking for libpq-fe.h... yes checking for
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do Thanks for all the help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2008 Jun 16
1
ERROR: Failed to build gem native extension
Hi, I''m trtying to install postgress v0.7.9.2008.01.28 gems: C:\>gem install -v=0.7.9.2008.01.28 postgres Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. ruby extconf.rb install -v=0.7.9.2008.01.28 postgres checking for main() in /ms/libpq.lib... no Could not
2009 Sep 02
4
diff of two timestamps
Hi all, I have the following problem: I have a csv-file consisting of timestamp values (no dates), e.g.: Timestamp1;Timestamp2; 05:24:43;05:25:05; 15:47:02;15:47:22; 18:36:05;18:36:24; 15:21:24;15:22:04; I need a vector with the difference of the two timestamps, so I read the data with the read.csv-function: myObj <- read.csv("file.csv",header=TRUE,sep=";"). I have then
2008 Sep 14
2
Postgres adapter issues with Rails 2.1: ruby-pg is the answer!
While upgrading Rails 2.0.2 sites to Rails 2.1.1, I encountered a weird postgres adapter problem. Although the old postgresql adapter (aka ruby-postgres) works fine with Rails 2.1.1 on my Mac dev box (running PG 8.2.6) and also works fine with Rails 2.0.2 apps on a Debian etch staging server (running PG 8.2.1), this error occurs when trying to cap deploy 2.1.1 apps on the Debian box:
2011 Aug 03
2
FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution
Hi guys, I found a really nasty issue that affects people running on Heroku''s cedar stack. We are using Rails 3.1.rc5, pg 11, omniauth 2.6. Ruby is 1.9.2.180p Basically there is an incompatibility between the http, pg and OpenSSL modules which segfaults when making https calls, for example to log in through twitter. Now pg is a required gem when using Heroku cedar stack so leaving that
2012 Jul 25
0
CESA-2012:1116 Moderate CentOS 5 perl-DBD-Pg Update
CentOS Errata and Security Advisory 2012:1116 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-1116.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 73189dc0ecf0859b3fce869a56ccb672fb4727d699501a768aabff3de76e007f perl-DBD-Pg-1.49-4.el5_8.i386.rpm x86_64:
2012 Jul 25
0
CESA-2012:1116 Moderate CentOS 6 perl-DBD-Pg Update
CentOS Errata and Security Advisory 2012:1116 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-1116.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: a50f3bbb9a28e17b78ac2672b59ac293e6f06816b8b368e185cfb77e0a9ef9c7 perl-DBD-Pg-2.15.1-4.el6_3.i686.rpm x86_64:
2012 Dec 04
3
Unable to install pg gem file on CENT OS
please help me in this... I am unable to install pg gem file [root@vdimc04 ~]# gem install pg -v ''0.12.0'' /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>'': It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. Fetching: rake-compiler-0.8.1.gem (100%) Fetching:
2010 Oct 13
3
using pg on snow leopard
I have a macbook running snow leopard. I recently installed postgresql 9.0 on it. I also installed pg with the following command: sudo env ARCHFLAGS=''-arch x86_64'' gem install pg The result was fine: Building native extensions. This could take a while... Successfully installed pg-0.9.0 1 gem installed Installing ri documentation for pg-0.9.0... Installing RDoc documentation
2013 May 01
3
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
I used MySQL as a backend before. Now I had to move to PG since Heroku doesn''t have MySQL and forces everyone to use their Heroku-PG database. But PG virsion of Rails works diffidently. I cannot generate a model without PG server running: >> C:\ruby\Heroku\App>rails generate model Products >> >> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-
2007 Jul 13
1
PHP doesn't connect to PG with SELinux
I just migrated my FC4 server to CentOS 5 and had some problems with DB connections from PHP to a PG server (remote server). The thing is that I couldn't get an error, until I disabled SELinux. At that time, the PG connections started working. Are there any instructions on how to work with SELinux enabled and multiple applications connecting one with another? -- select
2009 May 19
0
CESA-2009:0479 Moderate CentOS 5 i386 perl-DBD-Pg Update
CentOS Errata and Security Advisory 2009:0479 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-0479.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: b34fdb3cbe4002e6b1aef3ffb27cb92d perl-DBD-Pg-1.49-2.el5_3.1.i386.rpm Source: 53a7eb4309c1c6e69e64835a41a61339 perl-DBD-Pg-1.49-2.el5_3.1.src.rpm --
2009 May 19
0
CESA-2009:0479 Moderate CentOS 5 x86_64 perl-DBD-Pg Update
CentOS Errata and Security Advisory 2009:0479 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-0479.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: 0e042001ecf7c7a464b3aae1ade4b56d perl-DBD-Pg-1.49-2.el5_3.1.x86_64.rpm Source: 53a7eb4309c1c6e69e64835a41a61339 perl-DBD-Pg-1.49-2.el5_3.1.src.rpm
2009 May 19
1
Missing perl-DBD-Pg security update
Hi, Any news when we may expect the missing perl-DBD-Pg security update for CentOS 5 from last week? https://rhn.redhat.com/errata/RHSA-2009-0479.html It came out the same day as the poppler security update that CentOS pushed 2 days later so I'm wondering why the perl-DBD-Pg security update still hasn't appeared. Is there an issue? Did it just get missed? Should we wait longer?
2011 Oct 04
9
Postgresql adapter not working
Hello everyone. I''m starting with Rails going through the obvious "Getting Started with Rails" guide: http://guides.rubyonrails.org/getting_started.html Everything goes smoothly until the rake db:create command, which returns this strange error message referring to a gem that apparently doesn''t exist: Please install the postgresql adapter: `gem install activerecord-
2013 Jul 24
0
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi Qiao, On 24/07/13 08:23, Qiao Yang wrote: > Hi, > > I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround? > > $ cat myprog.c > int main() { > return 0; > } > > $
2008 Nov 03
17
SQL queries in Rails
Hi... I want to know the equivalent instructions to insert, update, search and delete a registry. I know Rails can do it easily Thanks to ActiveRecord, but here''s the catch: I''m using PostgreSQL. As I''m using SQL to do the migration (Including the foreign keys), I need to know if I can use SQL queries to do those actions. Is there an example out there? I uncommented
2013 Jul 24
2
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi, I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround? $ cat myprog.c int main() { return 0; } $ clang -v -pg -O2 myprog.c clang version 3.3 (tags/RELEASE_33/final) Target: