Ruby on Rails Windows Installation Tutorial (Ruby 2.4.1)

Опубликовано: 25 Август 2017
на канале: Melvin Ch'ng
7,659
42

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.4.1 Installer: https://github.com/oneclick/rubyinsta...
Node.JS: https://nodejs.org/dist/v6.11.2/node-...

Required files for 64-bit Windows Operating System
Ruby 2.4.1 Installer: https://github.com/oneclick/rubyinsta...
Node.JS: https://nodejs.org/dist/v6.11.2/node-...

//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

ExecJS::ProgramError fix:
Change the lines in the file app/view/application.html.erb that consist 'data-turbolinks-track': 'reload' to 'data-turbolinks-track': 'true'

If you are still having SSL issues, change "https" to "http" in your Gemfile.


На этой странице сайта вы можете посмотреть видео онлайн Ruby on Rails Windows Installation Tutorial (Ruby 2.4.1) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Melvin Ch'ng 25 Август 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 7,659 раз и оно понравилось 42 зрителям. Приятного просмотра!