|
Here are several way of getting and installing Ruby + extra
The RubyInstaller containing Ruby and a few extensions.
The easiest way to have Ruby on Rails running in a matter of minutes on your computer is to install InstantRails.Actually you don't even have to install it, just download the package and extract into your chosen folder and run the app, it's really that simple; ...because InstantRails is already preconfigured and contains Ruby,Rails,MySQL and Apache.
There are people who complain Ruby on Rails is so hard to deploy..but it's probably cause they've never heard of InstantRails, or probably because they have a different operating system than Windows, InstantRails being available only for Windows at the moment.
You can check here and herea few useful tutorials for InstantRails
If you like to have complete control over every aspect of configuring your development medium, then I guess you have to avoid shortcuts and download everything separately, along with a server of choice and a database management system such as MySQL.
For this tutorial, I'd suggest using Apahe and MySQL.Most of the documentation or tutorials already available have been designed for this combination.Once you're comfortable with it, you can try other combinations as well.
Later on, if you need a more elegant working environment you can install RadRails which is an IDE - integrated development environment for RoR.If you install RoR and become comfortable with it, you might also want to try this IDE.These are just a few of RadRail's highlights according to the official Aptana site:
- Code Assist on Ruby and RHTML files
- Outliner for code structure
- Debugging support
- Integrated server views
- Dynamic testing
- Integrated RoR deployment options
- Winner of the 2006 EclipseCon community award for Best Open-Source Eclipse-based tool.
- Cross-platform support
- Free and open source licensed under the Eclipse Public License, v1.0.
RadRails is available for Windows,Mac OSX and Linux.You can find a few tutorials here on how to code an app in RadRails or how to install RadRails in the first place.
There is an editor for Mac OSX also, TextMate available here.Unfortunately, it's not free.
RubyGems is the standard package manager as the official Rails site declares it.
In order to install Rails, you need to download RubyGems, extract and run "ruby setup.rb", then run this in the command line:
gem install rails --include-dependencies
I should mention that there are a few other Ruby frameworks as well,less famous than Rails.
just to name a few.Some of these are still in beta releases.
What I advise you to do tough is to pick Rails as your framework for the moment, as all the examples in this tutorial will be specifically for Rails and they might not function correctly on other frameworks.
|