Difference between revisions of "Ruby-on-Rails"
Jump to navigation
Jump to search
(→Best Practices) |
(→What Is Ruby on Rails?) |
||
Line 9: | Line 9: | ||
* https://rubyonrails.org/ | * https://rubyonrails.org/ | ||
* https://guides.rubyonrails.org/ | * https://guides.rubyonrails.org/ | ||
+ | * https://gorails.com/setup | ||
* https://en.wikipedia.org/wiki/Ruby_on_Rails | * https://en.wikipedia.org/wiki/Ruby_on_Rails | ||
+ | |||
+ | == rbenv == | ||
+ | I prefer using [https://github.com/rbenv/rbenv rbenv] to install and manage Ruby versions. When starting a new Rails project, I usually install the latest stable version of Ruby: | ||
+ | |||
+ | <pre># Update rbenv list | ||
+ | cd ~/.rbenv/plugins/ruby-build && git pull && cd - | ||
+ | |||
+ | # List available versions | ||
+ | $ rbenv install --list | ||
+ | |||
+ | # Install latest version | ||
+ | $ rbenv install 3.0.1</pre> | ||
== Best Practices == | == Best Practices == | ||
* [[Rails:Tests|Testing]] | * [[Rails:Tests|Testing]] | ||
* [[Rails:Migrations|Migrations]] | * [[Rails:Migrations|Migrations]] |
Revision as of 19:43, 17 April 2021
What Is Ruby on Rails?
Ruby on Rails is my favorite web application framework. If I need to build a web application rapidly and cleanly, this is the framework I prefer to use. For students interested in learning web application development, this is the framework I recommend they use. Want a second opinion?
For more information on Rails, see:
- https://rubyonrails.org/
- https://guides.rubyonrails.org/
- https://gorails.com/setup
- https://en.wikipedia.org/wiki/Ruby_on_Rails
rbenv
I prefer using rbenv to install and manage Ruby versions. When starting a new Rails project, I usually install the latest stable version of Ruby:
# Update rbenv list cd ~/.rbenv/plugins/ruby-build && git pull && cd - # List available versions $ rbenv install --list # Install latest version $ rbenv install 3.0.1