Intermediate::Rails
Rails is the M-V-C ( Model - View - Controller ) open-source framework written in Ruby, it is also called as Ruby on Rails(RoR). It is for developing database web applications.
Rails Installation
- Check whether your internet connection is active.
In a command window, type gem install rails --include-dependencies
Getting Started with a New Rails Application
- Create new Rails application by the command rails
, like c:\>rails demo - This will automatically create rails application name ‘demo’ with standard directory structure.
- Change directory to c:\>cd demo, then Start WEBrick server by the command c:\demo>ruby script/server . Then access http://localhost:3000/ in the browser, you should see a screen that looks like this.
- This confirms that the installation was successful and Rails is running.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home