similar to: postgres installtion

Displaying 20 results from an estimated 60000 matches similar to: "postgres installtion"

2006 Aug 18
3
connect to postgres db
I''ve followed the tutorial and just don''t get it. How do I connect my ruby/rails sample app to my postgres database. I did follow step 1-4 of the tutorial, I go to step 5: (http://wiki.rubyonrails.org/rails/pages/TutorialStepFive) and try the "rake" commmand and get this: rake aborted! no such file to load -- postgres so I ran with -trace and get this:
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
2008 Jan 15
9
using postgres rails/rake fails
hello list, yesterday i installed a fresh rails installation with a proper upgrade of gem to version 1.0.1 i saw, there is still a gem package to support postgresql known as postgres-0.7.9.2008.01.09 on rubyforge, its the newest one of stable postgres support for ruby additionally i installed, of course, a the postgres database on my machine to C:\Programme\PostgreSQL\8.2 after setting up a new
2006 Mar 14
4
ruby-postgres: can''t convert string to integer
Hi everybody, I''m experiencing trouble when trying to use ruby-postgres with a legacy database I need access to. To me it seems the problem is the VARCHAR columns used there as primary keys. On a simple me = User.find(''PS12345'') I get a type error exception with the message ''can''t convert String into Integer''. The trace is:
2005 Mar 09
2
LoadError
Hi, Im new to both Ruby and Rails, though am impressed by both. I am however stuck on a problem, when trying to run a demo. I''ve setup a postgresql database with a cookbook demo as per OnLamp, returned is the following error message: LoadError in Recipe#new No such file to load -- postgres script/server:48 Has anyone come across this error before? Anyone know how I should go about
2006 Jun 07
0
postgres-pr on windows
After installing One-Click Rails and Postgres 8.1 on Windows, I tried to install the pure-ruby postgres adapter by running gem install postgres-pr It installed fine, and I can do this: G:\InstantRails\rails_apps>irb irb(main):001:0> require "rubygems" => true irb(main):002:0> require "postgres" => true But then if I specify in my config/database.yml to use
2009 Jan 01
1
gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
** Daemonized, any open files are closed. Look at /var/www/vhosts/ gophotoswap.com/httpdocs/shared/pids/mongrel.8000.pid and /var/www/ vhosts/gophotoswap.com/httpdocs/shared/log/mongrel.8000.log for info. ** Starting Mongrel listening at 127.0.0.1:8000 ** Initiating groups for "mongrel":"mongrel". ** Changing group to "mongrel". ** Changing user to
2007 Apr 11
1
error about "gem install mysql -r "?
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux] Rails 1.2.3 ------------------------------------------------------- debian:/home/ror# gem list -l *** LOCAL GEMS *** Service layer for easy email delivery and testing. actionpack (1.13.3) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.2.3) Web service support for Action Pack. activerecord (1.15.3)
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
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi, I was getting an odd error installing rails-3.0.0.beta3 on a fresh Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu 9.10 install, so I''m sure it isn''t something specific to the Ubuntu version (nor beta for that matter). This is the error: mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre Successfully installed activesupport-3.0.0.beta3
2007 Apr 18
1
Postgres-pr interface not found
I''ve installed the postgres-pr gem, and it is found using gem list v0.4.0. In my active record source, inside the postgresql_adapter.rb file, I''ve changed line 7 from: require_library_or_gem ''postgres'' unless self.class.const_defined?(:PGconn) to: require_library_or_gem ''postgres-pr'' unless self.class.const_defined?(:PGconn) ...to try and
2006 Jan 12
2
Can''t install rubygems on Debian 3.1
Hi all, When I try to install rubygems I get this: install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems <--- lib/rubygems <--- lib /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2010 Jul 30
1
Problem with installing Rails 2.3.8 on Ubuntu 10.04
hi, I installed the ruby-full package. After downloading the rubygems 1.3.7, I installed it without any problem. I guess it should have installed relative gems by default, such as activesupport. Any help is appreciated. Mars root@mars-laptop:~# uname -a Linux mars-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux root@mars-laptop:~# ruby -v ruby 1.8.7
2008 Jul 05
0
Undefined Method Angst After Rails / Ruby / Gem Updates
I have what appears to be a problem accessing methods from within an application. I can access them from irb, but not from within the app. In other words: irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''haml'' => true irb(main):003:0> Haml.respond_to?(''init_rails'') => true
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi, I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem. The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt'' Not sure if there are missing gems, and if so,
2012 Jun 21
0
rails - postgres error: Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 o
Hi, I am stuck with the setup of Ruby (1.9.3), Rails and Postgres (9.0.8) on my Mac (10.6.8). Everytime when I run rails console I get the following error: /Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg.rb:4:in `require'': dlopen(/Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg_ext.bundle, 9): Library not loaded: @loader_path/../lib/libssl.dylib
2008 Nov 05
1
Removed edge rails but cannot find installed rails
I removed edge-rails from a project, git rm, committed and pushed the revised project to the shared repository, and then git pulled it onto my Windows XPpro laptop. Both the original host and my laptop have Rails-2.2.0RC1 installed. The Gem environment is: $ rails --version Rails 2.2.0 $ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.1 - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel
2009 Feb 07
2
installing ruby-postgres gem
I''m starting to look at postgres because I''m going to need it for its GIS extensions. But I run in into a problem when trying to install the ruby-postgres gem. I get this error Building native extensions. This could take a while... ERROR: Error installing ruby-postgres: ERROR: Failed to build gem native extension. blah blah blah etc postgres.c:31: error: conflicting types
2006 Aug 22
0
gem install postgres, dead meat - revisited
I''m still trying to install this sucker ... (RR) I''m behind a firewall on a WinXP machine. I open up a DOS window, go to my RR sample app and type the following to set up postgres: gem install postgres I get back the following error: ERROR: While executing gem ... (SocketError) getaddrinfo: no address associated with hostname. So ... I create this environment variable
2006 May 12
2
Problems installing on Fedora
Hello everyone, I am new to Ferret and new to this mailing list. I am having a problem installing. sudo gem install ferret Attempting local installation of ''ferret'' Local gem file not found: ferret*.gem Attempting remote installation of ''ferret'' Updating Gem source index for: http://gems.rubyforge.org Building native extensions. This could take a while...