Installing Ruby on Rails in windows 7 -


I've seen some Ruby tutorials today and liked to learn it. The problem is that I am stuck with the installation process! I can not get a clear picture on how to install ROR. For example, to write PHP code I installed Vamp and started writing php scripts directly and I got Dreamweaver CS4 An IDE.

Can someone illuminate me:

1) The process of installing ROR?

2) An IDE for ROR

3) What are gems? Are they modules?

thanks :)

Update: (2011 -11- 05)

RubyInstaller is now mature and is the preferred method of installing:

SQLite can also be installed normally as well

Original post: (2010-01-25)

The best way to get started is by using one-click installer. I recommend using the old installer () instead of the new Ruby Installer, because there is still something immature later on. To reduce access to Ruby Binary, installing Ruby Guns and adding palette option.

After installing (takes some time), set a console to fire, and using rail (and a database connector, such as Sqlite3) commands

  Install Gem Install Rail Gem sqlite3-ruby -version = 1.2.3  

(1.2.3 version of sqlite3 gem)

As you correctly guess It is imposed that gems are modules for Ruby, and Ruby on Rail is one of these modules.

Now you have set up both Ruby and Rail, set the console to fire your first Rail app, and

<<> Rail app name < / Pre>

Write tutorial and documentation from here.

Rails do not really need an IDE for development, you can use any decent text editor, but there are rail plugins for eclipse like Eclipse, and like VIM Emacs.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -