|
installingRuby
Installing Ruby on Rails/Active Scaffold on to a PC
Featured IntroductionEasiest way to install Ruby on Rails (RoR) on to a PC is to use InstantRails. You can download InstantRails from http://rubyforge.org/projects/instantrails/ You then need to install Active Scaffold either by downloading from http://www.activescaffold.com/ and copy into you rails application ..vendor/plugins/ directory, or typing a gem command (if you are not behind a proxy: ./script/plugin install http://activescaffold.googlecode.com/svn/tags/active_scaffold To edit the RoR code use a test editor like RadRails which can be downloaded from http://www.aptana.com/download_radrails.php DetailsBefore installing each bit of software read instructions carefully. Open two console window in in instant rails one for instructions and one for running web server. To set-up RoR to run for the example application, "the Bids Report", you need to do the following: Create a RoR application in the "\InstantRails\rails_apps\" directory: rails top20a Create the Database to hold all the data mysqladmin -u root create top20_development To run web server in top20 directory type: ruby script/server |