Ruby on Rails Windows Installation Tutorial (Ruby 2.2.3)

Publicado em: 24 Novembro 2016
no canal de: Melvin Ch'ng
1,222
10

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.


Nesta página do site você pode assistir ao vídeo on-line Ruby on Rails Windows Installation Tutorial (Ruby 2.2.3) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Melvin Ch'ng 24 Novembro 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,222 vezes e gostou 10 espectadores. Boa visualização!