How to install ruby on rails -


i newbie ruby on rails, here trying install ruby on rails on windows 7 64 bit. installed ruby installer , installed rails. , created new app files. when start rails server showing following errors.

how can rid of these errors , start developing ruby application?

c:\users\walnut\desktop > bundle install fetching gem metadata https://rubygems.org/............ fetching version metadata https://rubygems.org/... fetching dependency metadata https://rubygems.org/.. resolving dependencies................. using rake 10.4.2 using i18n 0.7.0 installing json 1.8.3 native extensions  gem::installerror: 'json' native gem requires installed build tools.  please update path include build tools or download devkit 'http://rubyinstaller.org/downloads' , follow instructions @ 'http://github.com/oneclick/rubyinstaller/wiki/development-kit' error occurred while installing json (1.8.3), , bundler cannot continue. make sure `gem install json -v '1.8.3'` succeeds before bundling.  c:\users\walnut\desktop > rails s not find gem 'mysql2 (>= 0) x64-mingw32' in of gem sources listed in gemfile or available on machine. run `bundle install` install missing gems.  c:\users\walnut\desktop > gem install mysql2 fetching: mysql2-0.3.19.gem (100%) error:  error installing mysql2:         'mysql2' native gem requires installed build tools.  please update path include build tools or download devkit 'http://rubyinstaller.org/downloads' , follow instructions @ 'http://github.com/oneclick/rubyinstaller/wiki/development-kit'  c:\users\walnut\desktop > rails s not find gem 'mysql2 (>= 0) x64-mingw32' in of gem sources listed in gemfile or available on machine. run `bundle install` install missing gems. 

from here,

follow instructions ruby installer developer kit wiki:

  1. download devkit file rubyinstaller.org
  2. extract devkit path c:\rubyxxx\devkit
  3. run cd c:\rubyxxx\devkit
  4. run ruby dk.rb init
  5. run ruby dk.rb review
  6. run ruby dk.rb install

Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -