Ruby : Ruby on Rails All In One
Ruby : Ruby on Rails
http://rubyinstaller.org/downloads
step1:
Installing Ruby
- RubyInstaller (Windows) Ruby 2.3.1 (x64)
- A number of tools exist to help you quickly install Ruby and Ruby on Rails on your system. Windows users can use Rails Installer
$ ruby -v $ sqlite3 --version
step2:
Installing Rails
$ gem install rails $ rails --version
step3:
DEVELOPMENT KIT:
For use with Ruby 2.0 and above (x64 - 64bits only)
The RubyInstaller Development Kit (DevKit) is a MSYS/MinGW based toolkit that enables you to build many of the native C/C++ extensions available for Ruby.
DEVELOPMENT KIT wiki: Quick start:
Download it, run it to extract it somewhere (permanent).
Then cd to it, run ruby dk.rb init and ruby dk.rb install to bind it to ruby installations in your path.
step4:
$ rails new -h $ rails new Website $ cd Website $ bin/rails server
step5:
To see your application in action, open a browser window and navigate to http://localhost:3000.
You should see the Rails default information page:
$ bin/rails generate controller Welcome index
more readimg http://guides.rubyonrails.org/getting_started.html
Ruby
https://www.codeschool.com/courses/try-ruby
https://www.codecademy.com/learn/ruby
Ruby on Rails
https://www.codeschool.com/courses/rails-for-zombies-redux
https://www.codecademy.com/learn/learn-rails
https://www.codecademy.com/learn/rails-auth
demos
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/5830226.html
未经授权禁止转载,违者必究!