This video was created for Software Engineering class that taught by Professor Ron Mak (Fall 2016 & Spring 2017) and Hungwen Li (Fall 2017) class at San Jose State University.
Complete installation guide available in text here: http://melvinchng.github.io/rails/Win...
More Ruby on Rails content: http://melvinchng.github.io/rails
You may also follow the instructions below:
Please download the correct files based on your Windows Operating system architecture.
Required files for 32-bit Windows Operating System
Ruby 2.2.3 Installer: http://dl.bintray.com/oneclick/rubyin...
Development Kit: http://dl.bintray.com/oneclick/rubyin...
Node.JS: https://nodejs.org/dist/v4.6.0/node-v...
Required files for 64-bit Windows Operating System
Ruby 2.2.3 Installer: http://dl.bintray.com/oneclick/rubyin...
Development Kit: http://dl.bintray.com/oneclick/rubyin...
Node.JS: https://nodejs.org/dist/v4.6.0/node-v...
//Initialize the DevKit and bind it to your Ruby installation
cd C:\DevKit
ruby dk.rb init
ruby dk.rb install
//To avoid receiving SSL error when trying to install Rails or pull updates from RubyGems
gem sources -r https://rubygems.org/
gem sources -a http://rubygems.org/
//Check Ruby and Rails version
ruby -v
rails -v
//To generate a new website name Blog
Rails new Blog
NOTE: You may or may not get SSL_connect error while creating your "Blog". If you ever encountered SSL_connect error after running "Rails new Blog", open "Gemfile" that is at the root of your Blog and replace "https" with "http" (first line of code)
//To verify that Ruby and Rails were installed correctly without any errors, use the command scaffold generate a simple set of a model, views, and controller for Rails Application
Rails g scaffold User name:string age:integer
If you are still having SSL issues, change "https" to "http" in your Gemfile.
Sur cette page du site, vous pouvez voir la vidéo en ligne Ruby on Rails Windows Installation Tutorial (Ruby 2.2.3) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Melvin Ch'ng 24 novembre 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,222 fois et il a aimé 10 téléspectateurs. Bon visionnage!