Difference between revisions of "Emergent Web Technologies Spring 2009 Class 6"
(New page: == Introduction == This week we'll finish up with an introduction to Ruby and move on to Ruby on Rails. We'll start with an introduction to web frameworks in general, and then move on to ...) |
|||
Line 2: | Line 2: | ||
This week we'll finish up with an introduction to Ruby and move on to Ruby on Rails. We'll start with an introduction to web frameworks in general, and then move on to [http://en.wikipedia.org/wiki/Model_view_controller Model View Controller]. Finally, we'll build a small Rails app in class to demonstrate how much more quickly you can build applications if you have a framework to start with. | This week we'll finish up with an introduction to Ruby and move on to Ruby on Rails. We'll start with an introduction to web frameworks in general, and then move on to [http://en.wikipedia.org/wiki/Model_view_controller Model View Controller]. Finally, we'll build a small Rails app in class to demonstrate how much more quickly you can build applications if you have a framework to start with. | ||
+ | |||
+ | |||
+ | == Commands to Run Before Developing == | ||
+ | |||
+ | Before you start developing with Ruby on Rails, you'll want to make sure that all of the code associated with Rails is current. These commands will make sure that everything is up to date with the latest versions. | ||
+ | |||
+ | Open the Instant Rails application and right click on the icon in the taskbar. Choose Rails Applications > Open Ruby Console Window. Run this command first | ||
+ | |||
+ | gem install rubygems-update | ||
+ | |||
+ | Once the first command has completed, run this command | ||
+ | |||
+ | update_rubygems | ||
+ | |||
+ | Finally, run this command | ||
+ | |||
+ | gem update rails | ||
+ | |||
+ | You should now be up to date. |
Revision as of 21:45, 4 March 2009
Introduction
This week we'll finish up with an introduction to Ruby and move on to Ruby on Rails. We'll start with an introduction to web frameworks in general, and then move on to Model View Controller. Finally, we'll build a small Rails app in class to demonstrate how much more quickly you can build applications if you have a framework to start with.
Commands to Run Before Developing
Before you start developing with Ruby on Rails, you'll want to make sure that all of the code associated with Rails is current. These commands will make sure that everything is up to date with the latest versions.
Open the Instant Rails application and right click on the icon in the taskbar. Choose Rails Applications > Open Ruby Console Window. Run this command first
gem install rubygems-update
Once the first command has completed, run this command
update_rubygems
Finally, run this command
gem update rails
You should now be up to date.