Adding to this when I tried to install rails through "gem install rails --include-dependencies". It was annoying message, which said the request to remote server timed out!
Well I was just discussing with my juniors what exactly rails consists/made of?
Rails is nothing but Web-application framework with template engine, control-flow layer, and ORM.
I also explained that they are nothing but few ruby files called/named as gems.
activeresource, rails, activesupport, activerecord, actionpack,
I recollected that, and instead of depending on net connection speed, went to ruby forge and picked up all the above gems (latest version 2.0.2) and stored on to local folders. Then installed one by one in the order... (click the links to download)
- activeresource 2.0.2
- rails 2.0.2
- activesupport 2.0.2
- activerecord 2.0.2
- actionpack 2.0.2
- actionmailer 2.0.2
Note: The order is maintained based on the dependencies the other
So this is what downloaded/installed when you run the command "gem install rails --include-dependencies".
Though each of the above listed gems could become a topic by itself, let me brief what's the role each of them got to play:
- activeresource - Think Active Record for web resources.
- rails - Web-application framework with template engine, control-flow layer, and ORM.
- activesupport - Support and utility classes used by the Rails framework.
- activerecord - Implements the ActiveRecord pattern for ORM.
- actionpack - Web-flow and rendering framework putting the VC (Views & Controllers) in MVC
- actionmailer - Service layer for easy email delivery and testing.
Thanks to my friend Manoj for the screenshot.
Cross check:
- ruby -v => To check the version of ruby installed
- gem -v => To check the version of gems installed
- rails -v => To check the version of rails installed
- gemlist => To find the list of all gems installed
No comments:
Post a Comment