sqlite - I am unable to install sqlite3 on rails 3.2 Windows -


here error: c:>gem install sqlite3-ruby temporarily enhancing path include devkit... building native extensions. take while... error: error installing sqlite3-ruby: error: failed build gem native extension.

c:/ruby200-x64/bin/ruby.exe extconf.rb 

checking sqlite3.h... * extconf.rb failed * not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. may need configuration options.

provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=c:/ruby200-x64/bin/ruby --with-sqlite3-dir --without-sqlite3-dir --with-sqlite3-include --without-sqlite3-include=${sqlite3-dir}/include --with-sqlite3-lib --without-sqlite3-lib=${sqlite3-dir}/ --enable-local --disable-local c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:431:in try_do': compiler failed ge nerate executable file. (runtimeerror) have install development tools first. c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:562:intry_cpp' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:1086:in block in find_header ' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:892:inblock in checking_for ' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:337:in block (2 levels) in p ostpone' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:307:inopen' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:337:in block in postpone' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:307:inopen' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:333:in postpone' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:891:inchecking_for' c:/ruby200-x64/lib/ruby/2.0.0/mkmf.rb:1085:in find_header' extconf.rb:34:in'

gem files remain installed in c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sqlit e3-1.3.7 inspection. results logged c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7/ext/sqli te3/gem_make.out

gemfile: source 'https://rubygems.org'

     gem 'rails'      gem 'jquery-rails'      gem 'bootstrap-sass', '2.0.0'      gem 'bcrypt-ruby'      gem 'faker', '1.0.1'      gem 'will_paginate'      gem 'bootstrap-will_paginate', '0.0.5'       group :development, :test      gem 'sqlite3', '1.3.5'      gem 'rspec-rails', '2.12.2'      gem 'guard-rspec', '0.5.5'     end      # gems used assets , not required     # in production environments default.     group :assets       gem 'sass-rails', '3.2.4'       gem 'coffee-rails', '3.2.2'       gem 'uglifier', '1.2.3'     end      group :test        gem 'capybara', '1.1.2'        gem 'factory_girl_rails', '1.4.0'         gem 'cucumber-rails', '1.2.1', require: false        gem 'database_cleaner', '0.7.0'        gem 'rb-fsevent', '0.4.3.1', :require => false         gem 'growl', '1.0.3'        gem 'guard-spork', '0.3.2'         gem 'spork', '0.9.2'        gem 'launchy', '2.1.0'        gem 'ffi', '1.1.0'      end 

i have installed devkit. running ruby 2.0.0. running on ruby 1.9.3. can me?

things have tried:

     1. bundle install (i not know why skips sqlite3)      2. gem install sqlite3      3. gem install sqlite3-ruby      4. i've included -- --with-sqlite3-dir=/usr/local/lib on each of lines 

when bundle install, skips on sqlite3 gem , installs other gems normally.

i've installed devkit , went sqlite3 website , got .dll windows , exe file , put in ruby2.0 bin folder.

edit: also, when run rails server , load locahost:3000, tells me run gem install activerecord-sqlite3-adapter

when run this, says there no such gem , include in gemfile, included in gemfile.

i think can use railsinstaller http://railsinstaller.org/

and reinstall ruby , rails work me


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -