marckunze / rancor

Ranked Choice voting tool repo
https://rancor.herokuapp.com
Other
0 stars 0 forks source link

Familiarize with Ruby #13

Closed marckunze closed 9 years ago

marckunze commented 10 years ago

Since it does appear that we are going with Ruby and Sinatra as our back end of choice on this it's worth noting the need to at least familiarize yourself with the basic of the language if you haven't already.

CS 132 used the two below for most of the reference, but also included several write-ups on the whole thing. Programming Ruby (The Pick-Axe book) by Dave Thomas (free online) http://ruby-doc.com/docs/ProgrammingRuby/ and Beginning Ruby by Peter Cooper http://www.amazon.com/Beginning-Ruby-Novice-Professional-Experts/dp/1430223634

There is also tutorials out there http://learnrubythehardway.org/book/ex1.html http://www.codecademy.com/en/tracks/ruby

The official language documentation http://ruby-doc.org/

And personally I like to hold onto a cheat sheet http://www.rubyinside.com/ruby-cheat-sheet-734.html

marckunze commented 9 years ago

Forgot that you will of course need to install ruby. I believe it is already included in Linux and Macs by default. If not see the links below. https://www.ruby-lang.org/en/installation/ http://rubyinstaller.org/

I'd also recommend RVM (Ruby Version Manager) since it lets you install multiple versions of ruby. http://rvm.io/

So we have #11 for git/github installing, ruby, and then the heroku toolbelt

https://devcenter.heroku.com/articles/getting-started-with-ruby#introduction

so you should be able to work through that tutorial above to do your hello world. But let me know if I'm leaving anything out.

marckunze commented 9 years ago

this is nice too.

https://www.ruby-lang.org/en/documentation/quickstart/

MarkHammondJr commented 9 years ago

I hope we're all familiar enough with ruby by now.