Ruby on Rails Windows Installation Tutorial (Ruby 2.4.1)

Veröffentlicht am: 25 August 2017
auf dem Kanal: 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.


Auf dieser Seite können Sie das Online-Video Ruby on Rails Windows Installation Tutorial (Ruby 2.4.1) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Melvin Ch'ng 25 August 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,659 Mal angesehen und es wurde von 42 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!