Getting Started With Ruby On Rails
Getting Started With Ruby On RailsGenerally there are 3 installations: OSX, Windows and Linux, and the latter is the most easy one. Windows:Go to http://www.rubyonrails.org/, and download the package containing gems (windows installer). Install the package. Update the gem system via: gem update --system Update installed gems via: gem update When this is done install the relevant gems. I would suggest the following as a minimum: gem install v1.2.6 rails *mysql (for database assess) When asked for the version you want to use, choose the newst version, that has win32 in the option.
OSX 10.4 and 10.5Go to http://www.macports.org/ and download the correct version of the file (tiger/leopard). Read through the installation guide: http://www.macports.org/install.php Quick guide: sudo port install ruby
Linux (Ubuntu like / Debian based)sudo apt-get update && sudo apt-get upgrade (getting newst list, and updateing software before continuing). sudo gem install rails And you should be set to go. IDE for use with RoR: Remeber to point your IDE to where your RoR / rails is installed for best integration:
Errors:Linux: sudo gem update --system Which introduced this error: /usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError) whenever I tried to run rubygems. On the rails forum, I found a fix for it!. Simply add the line to the file /usr/bin/gem (may be different on a mac): require 'rubygems/gem_runner' after require 'rubygems' Source: http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/ This error when installing gems: extconf.rb:1:in `require’: no such file to load—mkmf (LoadError) from extconf.rb:1. Do: sudo apt-get install ruby1.8-dev Source: http://www.rousette.org.uk/projects/forums/viewthread/177/
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning







Recent comments
14 hours 30 min ago
16 hours 31 min ago
19 hours 42 min ago
22 hours 1 min ago
23 hours 12 min ago
1 day 30 min ago
1 day 4 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 23 hours ago