<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mgupte</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mgupte"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Mgupte"/>
	<updated>2026-08-07T18:59:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81633</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81633"/>
		<updated>2013-10-30T23:51:59Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.rb''' : This file is loaded when require’automated_metareview’ is run. This file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&amp;lt;br&amp;gt;&lt;br /&gt;
2.[http://repository.lib.ncsu.edu/ir/handle/1840.16/8813 Automated Assessment of Reviews - Lakshmi Ramachandran ]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81631</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81631"/>
		<updated>2013-10-30T23:51:25Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.rb''' : This file is loaded when require’automated_metareview’ is run. This file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&amp;lt;br&amp;gt;&lt;br /&gt;
2.[http://repository.lib.ncsu.edu/ir/handle/1840.16/8813 Automated Assessment of Reviews ]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81630</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81630"/>
		<updated>2013-10-30T23:51:02Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.rb''' : This file is loaded when require’automated_metareview’ is run. This file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&amp;lt;/br&amp;gt;&lt;br /&gt;
2.[http://repository.lib.ncsu.edu/ir/handle/1840.16/8813 Automated Assessment of Reviews ]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81629</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81629"/>
		<updated>2013-10-30T23:50:44Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.rb''' : This file is loaded when require’automated_metareview’ is run. This file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;br /&gt;
2.[http://repository.lib.ncsu.edu/ir/handle/1840.16/8813 Automated Assessment of Reviews ]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81607</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81607"/>
		<updated>2013-10-30T23:41:34Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Steps to create Gem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.rb''' : This file is loaded when require’automated_metareview’ is run. This file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81606</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81606"/>
		<updated>2013-10-30T23:41:11Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''automated_metareview.rb''' : This file is loaded when require’automated_metareview’ is run. This file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81603</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81603"/>
		<updated>2013-10-30T23:39:36Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Steps to create Gem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': Code from the automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81601</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81601"/>
		<updated>2013-10-30T23:38:54Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Steps to create Gem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview folder into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': code of automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81599</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81599"/>
		<updated>2013-10-30T23:38:17Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The Automated metareview functionality is not used in the existing Expertiza system. If this feature is converted into a gem, then it can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': code of automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81586</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81586"/>
		<updated>2013-10-30T23:32:53Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Project Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which provides features such as spell checker, plagiarism check and the review tone analysis.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': code of automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81574</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81574"/>
		<updated>2013-10-30T23:30:55Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Project Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
The existing Expertiza system has an automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory has 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': code of automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81568</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81568"/>
		<updated>2013-10-30T23:28:35Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Intrdouction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed and issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
Existing Expertiza system had automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory had 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
===Steps to create Gem===&lt;br /&gt;
&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|alt=Structure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Lib''': code of automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' &amp;lt;br/&amp;gt;&lt;br /&gt;
You can build a gem from gemspec using the following command:&lt;br /&gt;
          gem build automated_metareview.gemspec&lt;br /&gt;
Install the generated gem locally to test it out.&lt;br /&gt;
          gem install automated_metareview-0.0.2&lt;br /&gt;
&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' &amp;lt;br/&amp;gt;&lt;br /&gt;
In order to make this gem available to everyone, we need to push the gem using : &amp;lt;br/&amp;gt;&lt;br /&gt;
          gem push automated_metareview-0.0.2.gem  &lt;br /&gt;
&lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
You can check in the list of available gems:&amp;lt;br/&amp;gt;&lt;br /&gt;
          gem list -r automated_metareview&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Steps to install and use Gem===&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the below steps:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Run the following command to install the gem&lt;br /&gt;
        gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add following line in gemfile&lt;br /&gt;
        gem ‘automated_metareview-0.0.2’&lt;br /&gt;
Run following command: &lt;br /&gt;
        bundle install&lt;br /&gt;
2. Add following line in the code where you want to use the gem:&lt;br /&gt;
        require ‘automated_metareview-0.0.2’&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
In order to use automated_metareview feature of testing whether a phrase /word is suggestive or not, we can use SentenceState methods to test it :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
1.[http://guides.rubygems.org/make-your-own-gem/ Make your own gem]&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81073</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=81073"/>
		<updated>2013-10-30T18:50:58Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Appendix: Setup Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed, issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
Existing Expertiza system had automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory had 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg|right|50px|alt=Structure|structure]]&lt;br /&gt;
&lt;br /&gt;
'''Lib''': code of automated_metareview package is placed in this folder. It contains all the 18 files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.rb''' : This file gets loaded when require’automated_metareview’ is run. That one file is in charge of setting up your gem’s code and API.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Build and Install Gem:''' You can build a gem from gemspec. Then you can install the generated gem locally to test it out.&lt;br /&gt;
[[File:Build.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Push gem''' : &lt;br /&gt;
[[File:Push.jpg]]&lt;br /&gt;
&lt;br /&gt;
This  gem is now available for installation by anyone. This can be viewed in [http://rubygems.org/gems/automated_metareview http://rubygems.org/gems/automated_metareview] &lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[File:List.jpg]]&lt;br /&gt;
&lt;br /&gt;
In order to use the gem please follow the following steps:&lt;br /&gt;
1.	gem install automated_metareview-0.0.2&lt;br /&gt;
OR&lt;br /&gt;
Add line gem ‘automated_metareview’ in gemfile. Do bundle install.&lt;br /&gt;
2.	Add following line in the code where you want to use the gem:&lt;br /&gt;
require ‘automated_metareview’&lt;br /&gt;
&lt;br /&gt;
[[File:Use.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which there are a number of dependencies. To overcome these       dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;br /&gt;
6.    No concrete documentation about the working of the meta review functionality is available due to which a lot of time was required to get the feature running.&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80960</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80960"/>
		<updated>2013-10-30T18:18:20Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Appendix: Setup Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed, issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
Existing Expertiza system had automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory had 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Automated_metareview.gemspec''' : This file gives details of the gem, author, version and other details.&lt;br /&gt;
[[File:Gemspec.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&amp;lt;br&amp;gt;&lt;br /&gt;
2.    There were many missing routes.&amp;lt;br&amp;gt;&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&amp;lt;br&amp;gt;&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&amp;lt;br&amp;gt;&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which thereare a number of dependencies. To overcome these dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80952</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80952"/>
		<updated>2013-10-30T18:16:49Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Appendix: Setup Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed, issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
Existing Expertiza system had automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory had 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
We have turned the automated_metareview feature into a gem called “automated_metareview” which could be used in other review systems.&lt;br /&gt;
Here is the basic structure of our gem: &lt;br /&gt;
&lt;br /&gt;
[[File:Structure.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
1.    There were a lot of problems with the master branch of expertiza.&lt;br /&gt;
2.    There were many missing routes.&lt;br /&gt;
3.    We faced a number of problems installing Aspell dictionary on windows.&lt;br /&gt;
4.    There are a number of steps which need to be followed to activate the metareview feature.&lt;br /&gt;
5.    The automated meta review feature is partly implemented using java due to which thereare a number of dependencies. To overcome these dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80938</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80938"/>
		<updated>2013-10-30T18:12:07Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Appendix: setup issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed, issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
Existing Expertiza system had automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory had 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: Setup Issues==&lt;br /&gt;
There were a lot of problems with the master branch of expertiza.&lt;br /&gt;
There were many missing routes.&lt;br /&gt;
We faced a number of problems installing Aspell dictionary on windows.&lt;br /&gt;
There are a number of steps which need to be followed to activate the metareview feature.&lt;br /&gt;
The automated meta review feature is partly implemented using java due to which thereare a number of dependencies. To overcome these dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80935</id>
		<title>CSC/ECE 517 Fall 2013/oss E812 amp</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_E812_amp&amp;diff=80935"/>
		<updated>2013-10-30T18:11:43Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Appendix: setup issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intrdouction==&lt;br /&gt;
This article is a report about our Open Source project(Expertiza) - Turn automated_metareview folder into a gem . It explains the design considerations, steps followed, issues faced while setting up Expertiza. It explains how our team manages to create a new Gem file, and test it on the existing Expertiza system.&lt;br /&gt;
&lt;br /&gt;
==Project Description==&lt;br /&gt;
Existing Expertiza system had automated_metareview.rb class which was using the text processing functionality from automated_metareview directory. &amp;quot;automated_metareview&amp;quot; directory had 18 files which included features like spell checker, plagiarism check and the review tone.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What it does''':  Gives automatic feedback to a reviewer, using NLP text analysis, to help the reviewer improve the review.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''What needs to be done''': We had to convert automated_metareview directory into a gem so that it can be used with other review systems.&amp;lt;br/&amp;gt;&lt;br /&gt;
Our goal was to remove the automated_metareview directory from existing Expertiza system. Include all those features in the Gem, and then import the functionality from the Gem file.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
The features of Automated metareview were integrated in the existing Expertiza system. If these features were converted into a gem, then these can be used in other review systems, wherein the reviewer will get an automated feedback about the review and he/she can change the review based on the results of automated metreview results. Thus by creating a gem file, other systems can install the gem and get access to all features of automated metareview, thereby increasing reusability.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
The current implementation has a few method calls very specific to Expertiza. We can change these methods so that they can be used in any other system. We generalized a few methods, so that it can be used in systems similar to Expertiza. But we can generalize it more such that we can seperate functionalities like Spell checker , plagiarism check in separate gem file.&lt;br /&gt;
&lt;br /&gt;
==Appendix: setup issues==&lt;br /&gt;
There were a lot of problems with the master branch of expertiza.&lt;br /&gt;
There were many missing routes.&lt;br /&gt;
We faced a number of problems installing Aspell dictionary on windows.&lt;br /&gt;
There are a number of steps which need to be followed to activate the metareview feature.&lt;br /&gt;
The automated meta review feature is partly implemented using java due to which thereare a number of dependencies. To overcome these dependencies we need to install multiple jar files such as joda-time.jar,stanford-segmenter.jar etc.&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78814</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78814"/>
		<updated>2013-09-24T20:20:55Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
[http://ruby.railstutorial.org/book/ruby-on-rails-tutorial#sec-rubygems Ruby on Rails Tutorial-Learn Rails by Example by Michael Hartl]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78756</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78756"/>
		<updated>2013-09-24T17:15:37Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
[http://ruby.railstutorial.org/book/ruby-on-rails-tutorial#sec-rubygems Ruby on Rails Tutorial-Learn Rails by Example by Michael Hartl]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78755</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78755"/>
		<updated>2013-09-24T17:13:56Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
[http://ruby.railstutorial.org/book/ruby-on-rails-tutorial Ruby on Rails Tutorial-Learn Rails by Example by Michael Hartl]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78754</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78754"/>
		<updated>2013-09-24T17:13:21Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory Ruby on Rails Tutorial-Learn Rails by Example by Michael Hartl]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78753</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78753"/>
		<updated>2013-09-24T17:13:01Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
[[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory Ruby on Rails Tutorial-Learn Rails by Example by Michael Hartl] ]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78752</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78752"/>
		<updated>2013-09-24T17:12:26Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
[[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac] Ruby on Rails Tutorial-Learn Rails by Example by Michael Hartl]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78751</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78751"/>
		<updated>2013-09-24T17:10:04Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78750</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78750"/>
		<updated>2013-09-24T17:05:20Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78749</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78749"/>
		<updated>2013-09-24T17:04:59Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* References: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&lt;br /&gt;
8.&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78748</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78748"/>
		<updated>2013-09-24T17:02:36Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer. We have also included links to common problems faced during installation.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78747</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78747"/>
		<updated>2013-09-24T17:01:23Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78746</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78746"/>
		<updated>2013-09-24T17:00:31Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
[http://stackoverflow.com/questions/12746060/how-to-install-rails-mac-osx-mountain-lion Rails installation problem on Mac OSX]&lt;br /&gt;
[http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory gcc problem in mac]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78744</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78744"/>
		<updated>2013-09-24T16:42:44Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
[http://joehacker72.wordpress.com/category/ruby-on-rails/ Rails installation problem on Linux]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78743</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78743"/>
		<updated>2013-09-24T16:40:58Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''See Also'''==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78742</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78742"/>
		<updated>2013-09-24T16:35:06Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /*  Install XCode or XCode command line tool. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool&amp;lt;ref name='xcode tool'&amp;gt;[http://guide.macports.org/chunked/installing.xcode.html Xcode command line tools]&amp;lt;/ref&amp;gt; instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78741</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78741"/>
		<updated>2013-09-24T16:31:11Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* '	Check Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
===='''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78740</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78740"/>
		<updated>2013-09-24T16:30:56Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* '	'Check Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Git1.png&amp;diff=78738</id>
		<title>File:Git1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Git1.png&amp;diff=78738"/>
		<updated>2013-09-24T16:30:05Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78737</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78737"/>
		<updated>2013-09-24T16:29:54Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* 	Installing GIT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git1.png|frame|center|Git Option Selection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78736</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78736"/>
		<updated>2013-09-24T16:28:54Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* 	Installing GIT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.png|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Git.png&amp;diff=78735</id>
		<title>File:Git.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Git.png&amp;diff=78735"/>
		<updated>2013-09-24T16:28:09Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78734</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78734"/>
		<updated>2013-09-24T16:27:55Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* 	Installing GIT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:git.jpg|frame|center|Git Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78732</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78732"/>
		<updated>2013-09-24T16:23:38Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* 	Installing GIT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub&amp;lt;ref name='git'&amp;gt;[http://git-scm.com/downloads Git Download]&amp;lt;/ref&amp;gt; page, and run it.&lt;br /&gt;
&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78731</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78731"/>
		<updated>2013-09-24T16:21:44Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* 	Installing GIT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer (.exe) file from the GitHub page, and run it.&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78730</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78730"/>
		<updated>2013-09-24T16:19:20Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /*  Install RubyGems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems&amp;lt;ref name='rubygems'&amp;gt;[http://rubygems.org/pages/download RubyGems]&amp;lt;/ref&amp;gt; and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78729</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78729"/>
		<updated>2013-09-24T16:15:15Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /*  Ruby Version Manager */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/rvm/basics Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78725</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78725"/>
		<updated>2013-09-24T16:14:11Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /*  Ruby Version Manager */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM)&amp;lt;ref name='rvm'&amp;gt;[https://rvm.io/ Ruby Version Manager]&amp;lt;/ref&amp;gt;. This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78724</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78724"/>
		<updated>2013-09-24T16:10:50Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Configuring rails environment for Linux and Mac OS X. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux&amp;lt;ref name='linux'&amp;gt;[http://en.wikibooks.org/wiki/Ruby_on_Rails/Getting_Started/Install_on_Linux Linux Installation]&amp;lt;/ref&amp;gt; are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM). This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78720</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78720"/>
		<updated>2013-09-24T16:06:14Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /* Configuring rails environment for Linux and Mac OS X. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX&amp;lt;ref name='mac'&amp;gt;[http://stackoverflow.com/questions/6840719/installing-ruby-on-rails-mac-os-lion Mac Installation]&amp;lt;/ref&amp;gt; and Linux are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM). This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78716</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78716"/>
		<updated>2013-09-24T15:58:54Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /*  Download git */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX and Linux are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/  &amp;lt;ref name='git'&amp;gt;[http://git-scm.com/ Git]&amp;lt;/ref&amp;gt;   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM). This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78714</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78714"/>
		<updated>2013-09-24T15:57:10Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: /*  Install XCode or XCode command line tool. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX and Linux are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&amp;lt;ref name='xcode'&amp;gt;[https://developer.apple.com/xcode/ Xcode]&amp;lt;/ref&amp;gt;&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM). This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78710</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78710"/>
		<updated>2013-09-24T15:55:34Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the steps to install and configure Ruby on Rails on Windows, Linux and Mac OSX. Since Linux and Mac OSX are UNIX based Operating Systems, their installation process is similar. In case of Windows, there are two methods to install ruby on rails i.e Using the command line or using the one-click installer.&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX and Linux are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM). This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78698</id>
		<title>CSC/ECE 517 Fall 2013/ch1 1w28 nm</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/ch1_1w28_nm&amp;diff=78698"/>
		<updated>2013-09-24T15:42:22Z</updated>

		<summary type="html">&lt;p&gt;Mgupte: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Configuring rails environment for Linux and Mac OS X.''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since both Mac OSX and Linux are UNIX based systems, the process of configuring rails in Linux and Mac OSX is very similar .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Steps for configuring Rails: ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====''' Install XCode or XCode command line tool.'''====&lt;br /&gt;
	For Mac OS X, the first thing we need to do is to install XCode which are the Apple Developer Tools. &lt;br /&gt;
	XCode ships with Mac OS 10.6 i.e Snow Leopard.&lt;br /&gt;
	XCode can be installed from the Mac OS X install DVD or can be downloaded from https://developer.apple.com/xcode/.&lt;br /&gt;
	You can verify if the XCode has been installed correctly by going to the terminal and running the following command:&lt;br /&gt;
&lt;br /&gt;
    gcc -v &lt;br /&gt;
&lt;br /&gt;
This command will check whether the required gcc compiler has been installed. &lt;br /&gt;
	You can also install the XCode command line tool instead of the entire XCode developer tool.&lt;br /&gt;
&lt;br /&gt;
====''' Download git'''====&lt;br /&gt;
&lt;br /&gt;
	Git is an open source distributed version control system designed to handle everything, from small to large projects with speed and efficiency. &lt;br /&gt;
	Git allows you to have multiple branches that can be entirely independent of each other. The creation, merging and deletion of these development lines takes seconds. &lt;br /&gt;
	It allows you to switch between these branches with ease. &lt;br /&gt;
	If, at any time you feel that the branch is not required you can delete that branch and revert back to the previous branch.&lt;br /&gt;
	You can download git-1.8.3.2(tar.gz file) from http://git-scm.com/   &lt;br /&gt;
	Then execute the following commands from the terminal:- &lt;br /&gt;
&lt;br /&gt;
    $ tar zxf git-1.8.3.2.tar.gz -- This command will extract the .tar file.&lt;br /&gt;
&lt;br /&gt;
    $ cd git-1.8.3.2 -- This command will take the control into that directory.&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ make &amp;amp;&amp;amp; sudo make install -- This command will compile and install git&lt;br /&gt;
&lt;br /&gt;
    [cd git-1.8.3.2]$ git --version --This command will return the current version of git installed on the machine.&lt;br /&gt;
&lt;br /&gt;
====''' Ruby Version Manager'''====&lt;br /&gt;
	The next step is to install Ruby Version Manager(RVM). This is an optional step.&lt;br /&gt;
	All computers having Mac OS 10.6 and above have some version of ruby pre installed. &lt;br /&gt;
	Therefore it is good practice to install RVM to manage different version of Ruby of the same machine.&lt;br /&gt;
	This is particularly important if you want to run Rails3 and Rails2.3 on the same machine.&lt;br /&gt;
	You can download RVM from www.rvm.io.&lt;br /&gt;
	To install RVM, execute the following command in the terminal:-&lt;br /&gt;
&lt;br /&gt;
    Install RVM with a Ruby: \curl -L https://get.rvm.io | bash -s stable&lt;br /&gt;
	For all in one installation append --rails or --ruby or --ruby=1.9.3&lt;br /&gt;
&lt;br /&gt;
====''' Install Ruby'''====&lt;br /&gt;
&lt;br /&gt;
	After installing RVM, you can install Ruby by using the following commands&lt;br /&gt;
&lt;br /&gt;
    $ rvm update --head&lt;br /&gt;
    $ rvm reload&lt;br /&gt;
These commands will update and reload RVM as it is updated frequently. &lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.8.7 --installs ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
    $ rvm install 1.9.2 -- installs ruby 1.9.2&lt;br /&gt;
&lt;br /&gt;
====''' Install RubyGems'''====&lt;br /&gt;
	If you want to use multiple versions of rails on the same machine,you need to create a separate gemset, which is a self contained bundles of gems, for each version.&lt;br /&gt;
&lt;br /&gt;
    $ rvm--create1.8.7-p174@rails2&lt;br /&gt;
    $ rvm--createuse1.9.2@rails3&lt;br /&gt;
&lt;br /&gt;
	Here the first command creates the gemset rails2 associated with&lt;br /&gt;
Ruby1.8.7-p174, while the second command creates the gemset rails3 associated 	with Ruby1.9.2 and uses it at the same time.&lt;br /&gt;
&lt;br /&gt;
	You can download RubyGems and install them using them using the following command:&lt;br /&gt;
    $ sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
	If you already have RubyGems installed on your machine you can update it using the following command:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ sudo gem update --system&lt;br /&gt;
&lt;br /&gt;
==== '''Install Rails'''====&lt;br /&gt;
&lt;br /&gt;
	The last step is to install rails. This can be done as follows:-&lt;br /&gt;
&lt;br /&gt;
    $ gem install rails --version 3.2.13&lt;br /&gt;
&lt;br /&gt;
	It is possible to check whether rails is installed correctly or not using&lt;br /&gt;
&lt;br /&gt;
    $ rails -v&lt;br /&gt;
&lt;br /&gt;
This command should return the installed version of rails and will return an error if rails has not been installed correctly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Configuring rails environment for Windows''' ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are many ways in which one might want to set up a complete development environment for Ruby on Rails on a Windows machine. There are primarily two types of installations &lt;br /&gt;
==='''	Using Command Line Instructions'''===&lt;br /&gt;
Here we are going to cover how to setup Rails on a Windows machine using Ruby, Ruby Gems and Rails. &lt;br /&gt;
&lt;br /&gt;
===='''	Installing GIT'''====&lt;br /&gt;
Installing Git on Windows is very simple. Simply download the installer exe file from the GitHub page, and run it:&lt;br /&gt;
http://msysgit.github.com/&lt;br /&gt;
After it’s installed, you have both a command-line version (including an SSH client) and the standard GUI.&lt;br /&gt;
&lt;br /&gt;
===='''	Ruby Installation:'''====&lt;br /&gt;
Download and install the latest final version of the Ruby installer (currently 1.8.6) from http://rubyforge.org/ . &lt;br /&gt;
&lt;br /&gt;
Continue with the installations with all the default settings. Make sure that Ruby is installed in a path which doesn’t contain any spaces. The default path selected by the installation wizard is c: //Ruby&lt;br /&gt;
&lt;br /&gt;
====''''''	'''Check Installation'''====&lt;br /&gt;
Once the installation is complete check that all the ruby commands are added to the file path. Open the command prompt and type&lt;br /&gt;
&lt;br /&gt;
    C:/&amp;gt; ruby –v&lt;br /&gt;
The above instruction will display the version of ruby installed.&lt;br /&gt;
[[Image:ruby.png|frame|center|Ruby]]&lt;br /&gt;
    C:/&amp;gt; gem –v&lt;br /&gt;
[[Image:gem.png|frame|center|Version of installed Gem]]&lt;br /&gt;
The above instruction will display the version of gem installed.&lt;br /&gt;
&lt;br /&gt;
If you get the “not recognized as an internal or external command” error, then set the path to the ruby bin directory (e.g. c:\ruby\bin) and try again.&lt;br /&gt;
&lt;br /&gt;
===='''	Update RubyGems'''====&lt;br /&gt;
The above installer also installs RubyGems package and SciTE editor as part of the installation process. But, the installed version of RubyGems may be a bit old(~0.9.4), so we need to update it to the latest available version.&lt;br /&gt;
    C:\&amp;gt; gem update ––system&lt;br /&gt;
&lt;br /&gt;
[[Image:update.png|frame|center|Update Gems]]&lt;br /&gt;
    C:\&amp;gt; gem –v  The lasts updated version will be displayed.&lt;br /&gt;
&lt;br /&gt;
===='''	Installing Rails'''====&lt;br /&gt;
Once Ruby and RubyGems have been installed run the following command on the command prompt to install Ruby on Rails and all its dependencies. &lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; gem install rails - -include-dependencies&lt;br /&gt;
[[Image:rails.png|frame|center|Installing Rails]]&lt;br /&gt;
&lt;br /&gt;
    C:\&amp;gt; rails -v&lt;br /&gt;
&lt;br /&gt;
[[Image:railsversion.png|frame|center|Installed version of rails]]&lt;br /&gt;
&lt;br /&gt;
If you want to update the version of Rails, just run the following commands&lt;br /&gt;
&lt;br /&gt;
 	C:\&amp;gt; gem update rails&lt;br /&gt;
&lt;br /&gt;
The simple Rails development environment is now installed on the System with WEBrick as the web server, SQLite as the database server.&lt;br /&gt;
&lt;br /&gt;
==='''	Using Windows Rails Installer'''===&lt;br /&gt;
&lt;br /&gt;
1.	 Go to Rails Installer and download the Rails Installer executable. &lt;br /&gt;
 http://railsinstaller.org/en&lt;br /&gt;
&lt;br /&gt;
[[Image:windows.png|frame|center|Rails Installer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.	Double-click the executable and follow the instructions to install Git, Ruby, RubyGems, and Rails itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:setup.png|frame|center|Setup Wizard]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:agreement.png|frame|center|Agreement]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:final.png|frame|center|Install]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Once the installation is done, the environment is set up and ready for the first application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:installed.png|frame|center|Installation Complete]]&lt;br /&gt;
&lt;br /&gt;
=='''References:'''==&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mgupte</name></author>
	</entry>
</feed>