Ruby on Windows - HOW TO install and set up

4,122 views
3,855 views

Published on

HOW TO guide for setting up your Windows XP system to run ruby code, installing rails, and SQlite database so you can be off developing ruby on rails applications.

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,122
On SlideShare
0
From Embeds
0
Number of Embeds
220
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Ruby on Windows - HOW TO install and set up

  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 />3<br />
  4. 4. Installing Ruby<br />The one click installer does all the work for you <br />4<br />
  5. 5. Installer<br />Location<br />5<br />
  6. 6. Installer <br />Finish<br />6<br />
  7. 7. Verify<br />Go to a command prompt and check the ruby version by typing ruby -v<br />7<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<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<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 />12<br />

×