लोड नहीं कर सका मैं अपनी नोटबुक (डेबियन व्हीज़ी 64 बिट) पर आरओआर स्थापित करने की कोशिश कर रहा हूं।'active_record/connection_adapters/sqlite3_adapter'
पहले मुझे यह समस्या थी (enter link description here) पहले जवाब से हल किया गया था।
अब रेल सर्वर शुरू होता है, लेकिन स्थानीय होस्ट पर ब्राउज़र पर सर्फिंग:
Could not load 'active_record/connection_adapters/sqlite3_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql', 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile.
मैं रूबी 2.0.0 स्थापित किया है स्रोत कोड, कोई त्रुटि या गलतियों संकलन: 3000 मैं निम्नलिखित त्रुटि मिलती है। कुछ की जरूरत पुस्तकालयों (sqlite3, libsqlite3-देव) तब मैं स्थापित किया है ...
यहाँ मेरी GemFile है:
'https://rubygems.org'
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
-# Use sqlite3 as the database for Active Record
gem 'sqlite3'
-# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
-# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
-# See https://github.com/sstephenson/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-# Use jquery as the JavaScript library
gem 'jquery-rails'
-# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'
group :doc do
-# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
-# Use ActiveModel has_secure_password
-# gem 'bcrypt-ruby', '~> 3.0.0'
-# Use unicorn as the app server
-# gem 'unicorn'
-# Use Capistrano for deployment
-# gem 'capistrano', group: :development
-# Use debugger
-# gem 'debugger', group: [:development, :test]
gem 'execjs'
gem 'therubyracer'
और मेरे database.yml में:
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
मेरे मणि संस्करण:
ruby 2.0.0
rails 4.0.0
sqlite 1.3.7
बस की जाँच करने के लिए सही ढंग से बंडल स्थापित किया है? बंडल स्थापित करने के लिए आपने किन कदमों का पालन किया? बस मणि इंस्टॉल sqlite3 –
का उपयोग करने का प्रयास करें हां मैंने apt-get install sqlite3 का उपयोग कर sqlite3 स्थापित किया है, और मणि के लिए मैंने मणि का उपयोग sqlite3 स्थापित किया है ... – user2010955