<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Helion-Prime Solutions blog &#187; linux</title>
	<atom:link href="http://blogs.helion-prime.com/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.helion-prime.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 18 Dec 2011 13:27:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setup of Ruby on Rails environment under Debian GNU/Linux</title>
		<link>http://blogs.helion-prime.com/2008/05/21/setup-of-ruby-on-rails-environment-under-debian-gnulinux.html</link>
		<comments>http://blogs.helion-prime.com/2008/05/21/setup-of-ruby-on-rails-environment-under-debian-gnulinux.html#comments</comments>
		<pubDate>Wed, 21 May 2008 14:31:06 +0000</pubDate>
		<dc:creator>alex.shapovalov</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blogs.helion-prime.com/?p=17</guid>
		<description><![CDATA[preamble here you will find just quick-and-dirty hints how to use Ruby on Rails on Debian GNU/Linux platform ruby and RoR installation # apt-get install ruby install ruby gems [http://en.wikipedia.org/wiki/RubyGems] # apt-get install rubygems then don&#8217;t use &#8216;rails&#8217; Debian package because it doesn&#8217;t work with gem and so gem will not know about it. you [...]]]></description>
			<content:encoded><![CDATA[<h2>preamble</h2>
<p>here you will find just quick-and-dirty hints how to use Ruby on Rails on Debian GNU/Linux platform</p>
<h2>ruby and RoR installation</h2>
<p># apt-get install ruby</p>
<p>install ruby gems [<a href="http://en.wikipedia.org/wiki/RubyGems">http://en.wikipedia.org/wiki/RubyGems</a>]<br />
# apt-get install rubygems</p>
<p>then don&#8217;t use &#8216;rails&#8217; Debian package because it doesn&#8217;t work with gem and so gem will not know about it.<br />
you should use gems for that:<br />
# gem install rails &#8211;include-dependencies</p>
<p>if you located behind a firewall, export following value before gem using:<br />
HTTP_PROXY=http://[username]:[password]@[proxyserver]:[port]</p>
<p>if you use some IDE like NetBeans [<a href="http://en.wikipedia.org/wiki/NetBeans">http://en.wikipedia.org/wiki/NetBeans</a>]with Ruby on Rails extension than after installing of ruby and rubygems packages<br />
you can use NetBeans to install ruby extensions</p>
<h2>installation of gems that require building of native extensions</h2>
<p>some gems are simple set of ruby scripts and then can be just installed<br />
some gems contain source code c/c++ and so before installing of such gems you should have:</p>
<p><span style="color: #3366ff;"><strong>**</strong></span>development environment<br />
# apt-get install build-essential</p>
<p><span style="color: #3366ff;"><strong>**</strong></span>ruby development header files<br />
# apt-get install ruby-dev</p>
<p><span style="color: #3366ff;"><strong>**</strong></span>header files of library that you want to build</p>
<p>for example: you want to have ruby driver for postgresql DB<br />
# apt-get install postgresql-server-dev-8.3<br />
# gem install postgres</p>
<p>enjoy it ..</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.helion-prime.com/2008/05/21/setup-of-ruby-on-rails-environment-under-debian-gnulinux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

