Displaying 4 results from an estimated 4 matches for "jdbcpostgresql".
2010 Jun 09
4
db connection issues in production but not in dev mode
...stgre console:
--------------------------
LOG: could not receive data from client: No connection could be made
because th
e target machine actively refused it.
LOG: unexpected EOF on client connection
------------------------
Entries in database.yml file are as follows:
development:
adapter: jdbcpostgresql
database: microblogging
username: databaseusername
password: databasepassword
pool: 15
timeout: 15000
production:
adapter: jdbcpostgresql
database: microblogging
username: databaseusername
password: databasepassword
pool: 15
timeout: 15000
Environment:
Jruby version 1.5.0
R...
2008 Sep 13
4
Setting up RoR with Postgresql ---heeellpp!
...rails_test
username: postgres
password: myPassword
development:
adapter: ruby-postgres
database: rails_development
username: postgres
password: myPassword
When I created my rails app, I put a flag -d postgresql
I have installed different database adapters (ruby-postgres,
activerecord-jdbcpostgresql-adapter, postgres-pr). I''ve tried writing
adapter: postgresql in the .yml file.
But when I try to run the server (ruby script/server), I get the
following error msg:
G:/program
files/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.1/lib/active_recor
d/connection_adapters/abstract/connectio...
2011 Jun 09
1
Rails 3.1 RC4 has broken migrations
Rails 3.1 RC4 has broken migrations
$ jruby -v
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
$ jruby -S rails -v
Rails 3.1.0.rc4
$ jruby -S rails new myapp -d jdbcpostgresql
[...]
$jruby -S rake db:create
[...]
$ jruby -S rails g model user name:string
invoke active_record
create db/migrate/20110609233144_create_users.rb
create app/models/user.rb
invoke test_unit
create test/unit/user_test.rb
create test/fixtures/...
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i
type again it is not working. i got this error
[2012-02-09 16:19:54] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already
in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new''
from