Ruby on Rails Windows Installation Tutorial (Ruby 2.2.3)

Опубликовано: 24 Ноябрь 2016
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн Ruby on Rails Windows Installation Tutorial (Ruby 2.2.3) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Melvin Ch'ng 24 Ноябрь 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,222 раз и оно понравилось 10 зрителям. Приятного просмотра!