Successfully reported this slideshow.

Ruby windows

802 views

Published on

Ruby

Published in: Technology, Education
  • Be the first to comment

Ruby windows

  1. 1. Ruby on Windows<br />Tim Golden<br />http://TimGolden.com<br />http://twitter.com/Goldeneye<br />1<br />
  2. 2. History<br />Cygwin<br /> Source Files<br />NotePad<br />
  3. 3. Choices <br /> Easy<br />Ruby installer<br />http://rubyinstaller.org/<br />Hard<br />Development Kit/ Build from source<br />http://rubyforge.org/projects/rubyinstaller/<br />
  4. 4. Installing Ruby<br />The one click installer does all the work for you <br />
  5. 5. Installer<br />Location<br />
  6. 6. Installer <br />Finish<br />
  7. 7. Verify<br />Go to a command prompt and check the ruby version by typing ruby -v<br /><ul><li> to open a command prompt you can go to the run box and enter the text CMDand click OK</li></li></ul><li>Ruby Gems<br />Installing Gems<br /> Package manger for Ruby<br />http://rubygems.org/<br />
  8. 8. Gem Install<br />Using a command prompt in your c:Ruby dir<br /> > gem update –-system<br /> > gem list –-local<br />To see what’s installed<br /> > gem install “pkg”<br />
  9. 9. SQLite<br />Precompiled Binaries For Windows section http://www.sqlite.org/download.html<br />sqlitedll-3_6_23.zip – you can think of this one as actually being the SQLite database that you will install on your machine<br />sqlite-3_6_23.zip –a command line utility that can be used to administer a SQLite database<br />Unzip them and put the extracted files in your rubyin directory (usually at C: ubyin). <br />
  10. 10. SQLite<br /> From a command prompt in your C: uby dir<br /> > gem install sqlite3-ruby<br />SQLite/Ruby FAQ – all the different ways to use sqlite from a Ruby script<br />
  11. 11. Credits<br />Tim Golden – aka Golden~Eye~<br />http://www.TimGolden.com<br />http://twitter.com/GoldenEye<br />RubyForge - http://rubyforge.org/projects/rubyinstaller/<br />RubyInstaller - http://rubyinstaller.org/<br />Ruby On Windows - http://rubyonwindows.blogspot.com<br />RubyGems - http://rubygems.org/<br />SQLite - http://www.sqlite.org -- http://sqlite-ruby.rubyforge.org/sqlite3/faq.html<br />Ruby Stack - http://bitnami.org/stack/rubystack<br />Notepad ++ http://notepad-plus.sourceforge.net/uk/site.htm<br />Netbeans - http://netbeans.org/projects/ruby/http://netbeans.org/downloads/index.html<br />

×