संभव डुप्लिकेट स्थापित:
How to handle Ruby on Rails error: “Please install the postgresql adapter: `gem install activerecord-postgresql-adapter'”PostgreSQL एडाप्टर स्थापित करें: `मणि ActiveRecord-PostgreSQL-adapter`
मैं Redmine postgres के साथ काम करने के लिए कोशिश कर रहा हूँ।
मेरे लॉग में मैं देख रहा हूं।
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter`
गुगल करने के बाद सभी ने कहा कि आपको मणि इंस्टॉल करने की आवश्यकता है। लेकिन जब मैं मणि सूची
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.8, 2.3.5)
activeresource (2.3.5)
activesupport (2.3.8, 2.3.5)
fastthread (1.0.7)
passenger (2.2.15)
pg (0.9.0)
postgres (0.7.9.2008.01.28)
postgres-pr (0.6.3)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
आप स्पष्ट रूप से देख सकते हैं कि पीजी पहले से स्थापित है। क्या किसी और को यह समस्या मिली है या इसे ठीक किया है?
अब मुझे /opt/redmine/apps/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in 'establ_connection' मिलता है: कृपया postgresql इंस्टॉल करें एडाप्टर: 'मणि सक्रिय सक्रियकॉर्ड-पोस्टग्रेस्क्ल-एडाप्टर' स्थापित करें (/usr/lib/ruby/gems/1.8/gems/pg-0.9.0/lib/pg_ext.so: गलत ईएलएफ वर्ग: ELFCLASS64 - /usr/lib/ruby/gems/1.8/gems/pg-0.9.0/lib/pg_ext.so) (रनटाइम त्रुटि) – silent1mezzo
यह अब रूबी से संबंधित नहीं है, आपके मूल पोस्टग्रे लाइब्रेरी में कुछ गड़बड़ है। विशेष रूप से, क्या आपने सही संस्करण डाउनलोड किया है (32/64 बिट)? साथ ही, "गलत ईएलएफ कक्षा: ELFCLASS64" –
पोस्टग्रेस या पोस्टग्रेएसक्यूएल के लिए Google में बहुत से संबंधित सामग्री प्रतीत होती है - – rfusca