Hi there,

I'm trying to get up and running with PostgreSQL 8.4 and the Rails 3
beta.  I'm running on Ruby 1.8.7 via RVM and have installed the 'pg'
gem.  While I've been able to get the pg gem to successfully build,
whenever I create a new rails app, tell it to use Postgres, and execute
'rails server' I get the following error:

jury$ rails server
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/pg-0.8.0/lib/pg.bundle:
dlsym(0x1026ef640, Init_pg): symbol not found -
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/pg-0.8.0/lib/pg.bundle
(LoadError)
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/bundler-0.9.3/lib/bundler/runtime.rb:26:in
`require'
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/bundler-0.9.3/lib/bundler/runtime.rb:25:in
`each'
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/bundler-0.9.3/lib/bundler/runtime.rb:25:in
`require'
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/bundler-0.9.3/lib/bundler/runtime.rb:24:in
`each'
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/bundler-0.9.3/lib/bundler/runtime.rb:24:in
`require'
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/bundler-0.9.3/lib/bundler.rb:70:in
`require'
  from
/Volumes/Khronos/jury/Documents/rails3/postApp/config/application.rb:6
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/railties-3.0.0.beta/lib/rails/commands.rb:36:in
`require'
  from
/Users/jury/.rvm/gems/ruby-1.8.7-p249/gems/railties-3.0.0.beta/lib/rails/commands.rb:36
  from /Volumes/Khronos/jury/Documents/rails3/postApp/script/rails:10:in
`require'
  from /Volumes/Khronos/jury/Documents/rails3/postApp/script/rails:10

I'm guessing this is either an error in bundler or ruby-pg, but would
appreciate any pointers if anyone has run into this before and worked
around it.

For that matter, has anyone out there successfully got the Rails 3 beta
and Postgres working well together?  If so, I'd love to know what you've
done.

Thanks in advance!

-J
-- 
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 group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to