Displaying 20 results from an estimated 6000 matches similar to: "Installing the Postgres gem on Ubuntu"
2006 Apr 19
3
help! installing rubygems in ubuntu... problems with zlib
Hi,
I am trying to install Ruby on Rails on a Linux Ubuntu PC. I already
installed manually ruby 1.8.4. But when I try to install rubygems, I get
the error:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': no such file to load -- zlib (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
2006 May 18
4
Install Glitch
Ubuntu 5.10, Ruby 1.8.3. I installed rubygems, then tried rails, and
get a tragic looking error at the end. Is this a problem? It looks
related to rdoc.
root@bonus:/usr/local/rubygems-0.8.11# gem install rails --include-dependencies
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
2008 Jun 12
1
ruby-postgres gem installation on Leopard
Hi all
I am just about to start a project using rails and am trying to setup
my enviroment with postgres as the database. I have installed postgres
8.3.1 from source and am now having trouble installing the ruby-
postgres gem. The following is the output trace I am getting, looks
like a problem with headers/includes, any help is greatly appreciated.
Thanks
Simon
sudo gem install ruby-postgres
2007 Jun 03
1
postgres gem -- LoadError
I''m at a loss to explain why the postgres gem will not work on my new
server. I''ve gotten it working on several other servers in the past.
The major difference between then and now is that I''m using a newer
version of PostgreSQL. 8.x as opposed to 7.x.
=== Server setup
OS: Fedora Core 6
(Commands shown with "$" are performed as the same user that mongrel
2007 May 05
1
Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)
Dear All,
Why does my configure fail like so:
checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config
checking for PQexec in -lpq... no
configure: ***
configure: *** The PostgreSQL installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-postgres
Configure options are:
env CC=/usr/local/bin/gcc
2003 May 27
1
Postgres "issue"
Dear list,
I have a small issue with dovecot talking to a postgresql server:
If my postgres server get restarted, dovecot fails to reconnect to the
postgres server.
I run dovecot 0.99.9.1 (which is actually a cvs version of dovecot, of may 9
2003)
I have the same postgres version for the server as I use for the libraries.
Is it hard to get auto-reconnect to work?
Kind regards,
Maikel
2008 Apr 07
2
CentOS, Postgres init and puppet
Me again!
I have a recipe that looks like:
class postgresql {
file { pg_hba_conf:
name => "/var/lib/pgsql/data/pg_hba.conf",
source =>
"puppet://puppetmaster/files/workstations/common/var/lib/pgsql/data/pg_hba.conf",
owner => postgres,
group => postgres,
mode => 600,
subscribe => [ Package[postgresql] ],
2007 Apr 10
2
postgres 7 - CentOS 4.4
Hi
Firstly apologies but i have to install an app that uses postgres but i
am more a MySQL/Oracle guy so i maybe doing something really wrong here..
I am following instructions for creating a DB user and encountering this
# createuser -ADP -U postgres foo
Enter password for new user:
Enter it again:
createuser: could not connect to database template1: FATAL: IDENT
authentication failed for
2009 Jul 06
1
[PATCH server] add ipv6 postgres trust
If management server has ipv6 enabled and postgres is not configured to allow localhost access via ::1 the postgres service will fail.
---
installer/modules/ovirt/manifests/postgres.pp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp
index 36bcdc0..12b7764 100644
---
2012 Nov 28
2
backtrace from postgres dict
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
since I enabled ACLs I get following backtrace. It looks like that it
happens if the ACLs had been changed only. Also, it looks like that it
always happens 1 minute after last "dict: Info: pgsql(localhost):
Connected to database dovecot", no matter if the user is logged in (and
idle) or logged off. Postgres logs: "could not
2011 Oct 26
4
Help wanted: pg vs. postgres-pr gems
Hi all,
I installed Rails 3.0 + PostgreSQL 8.4.
Installed the gem postgre-pr
I added " gem ''postgres-pr'' " to my Gemfile
I defined my database.yml with:
# PostgreSQL 8.4
development:
adapter: postgresql
encoding: unicode
database: testdb
pool: 5
username: test
password: ******
I run rails server which starts, but application environment returns
this error:
2006 Jun 19
9
index columns in postgres
I am in a holding pattern while client decides upon changes and so I am
working some things out internally so it seems to me that indexing
frequently searched table fields might be useful.
I am using postgres and via postgres, I have added an index to one of my
tables whose index is the same name as the column name. The ''find''
screen I am using this to judge populates a number
2007 Sep 25
1
Postgres Config File (eg: PGDATA)
Hi guys,
need some clarification on whether there is a config file sourced by the
init script to determine where PGDATA is located.
Right now, it seems like it's not sourced from anywhere by located on
the init file itself.
Appreciate if you guys can let me know if this is the correct place for
altering it.
2005 Dec 05
1
Rails and Postgres ARRAYs
Hello list,
I''ve got a Postgres table defined as
create table A (
id serial primary key,
names varchar(10)[],
val float[]
)
Although I *could* split out the names/val arrays into one or more
separate tables with one-to-many relations back to table A, the actual
business problem is such that I''d prefer not to do so if I can avoid
it.
Is there any way of reading/writing
2007 Aug 10
2
Where can I find postgres-8.2 rpms for Centos 4?
Hi all, title says it all. Current postgres is 8.1.9 in centosplus
2006 May 26
4
Using ''validates_inclusion_of'' to validate foreign key
I seem to be missing something trying to use ''validates_inclusion_of'' to
validate a foreign key and was hoping some one could piont out my
mistake?
The problem seems to be that Order.find_all.collect is not returning an
array that contains the order_id, if I replace it with a hardcoded array
everything works as expected.
The model:
class OrderItem < ActiveRecord::Base
2007 Mar 05
2
SOLVED:Re: How to select postgres for usage instead postgres-pr?
Figured it out chaps..not to worry!!!
--
Regards
Andrew
On 05/03/07, Andrew Madu <andrewmadu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi,
> further to my additional email the gem build for postgres did not work, so
> I downloaded and copied postgres.so into:
>
> C:\pgRails\lib\ruby\site_ruby\1.8\i386-msvcrt
>
> Again, how do I point rails to using this
2006 May 30
5
Rails - Postgres - importing data
I am writing a application where there is a lot of data in an old
Filemaker program that I am going to need to do a 1 time import...1 main
table and 2 related tables. I can get the data from Filemaker into a dbf
or csv or Excel file without problem.
Is anyone aware of a utility for postgresql or a rails plug-in that
might make this easier? I am worried about Rails import since I can''t
2013 Feb 20
1
Connection leak in sqlpool for ACL Dict Postgres in v2.1.15 (14907:b96df105ec55) and v2.2.beta1 (15857:07dfd4391d22)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm using a postgres dict for ACL, when when use deleteacl or setacl I get
a "not connected" error and (v2.2)
Panic: file driver-pgsql.c: line 84 (driver_pgsql_set_state): assertion failed: (state == SQL_DB_STATE_BUSY || db->cur_result == NULL)
and a rawdump eventually.
You can trigger the error with the "dict"
2006 Apr 22
3
Gems installation into custom directory
I it possible to install gems into custom directory (user dir)? There no
any specific parameters in setup.rm I don''t wanna see unpackaged
binaries into my Debian system ;) Or maybe someone can send me a link
with .deb''s?
Thanks in advance.