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.
follow instructions ruby installer developer kit wiki:
- download devkit file rubyinstaller.org
- extract devkit path c:\rubyxxx\devkit
- run
cd c:\rubyxxx\devkit
- run
ruby dk.rb init
- run
ruby dk.rb review
- run
ruby dk.rb install
Comments
Post a Comment