<?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/"
	>

<channel>
	<title>kill3rmedia &#187; Ruby / Rails</title>
	<atom:link href="http://kill3rmedia.com/category/blog/ruby-and-ruby-on-rails-blog-2/feed" rel="self" type="application/rss+xml" />
	<link>http://kill3rmedia.com</link>
	<description>Blog and Portfolio</description>
	<pubDate>Sat, 15 Nov 2008 08:24:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple Rails helper for using OnClick on div, tr and other tags</title>
		<link>http://kill3rmedia.com/featured/simple-rails-helper-for-using-onclick-on-div-tr-and-other-tags</link>
		<comments>http://kill3rmedia.com/featured/simple-rails-helper-for-using-onclick-on-div-tr-and-other-tags#comments</comments>
		<pubDate>Tue, 20 May 2008 23:01:00 +0000</pubDate>
		<dc:creator>buddhi</dc:creator>
		
		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Ruby / Rails]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Ruby / Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kill3rmedia.enspark.com/uncategorized/simple-rails-helper-for-using-onclick-on-div-tr-and-other-tags/</guid>
		<description><![CDATA[<p>I came across the issue of making set of div tags&#8217; onClick event to be connected with a remote function, yet I couldn&#8217;t find a helper method to that and I made a simple and stupid helper method by cannibalizing&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I came across the issue of making set of div tags&#8217; onClick event to be connected with a remote function, yet I couldn&#8217;t find a helper method to that and I made a simple and stupid helper method by cannibalizing link_to_remote and link_to_function helper methods.</p>
<p>usage: just like using link_to_remote, yet we don&#8217;t specify &#8220;name&#8221;, since there&#8217;s no text going inside the tag except the onclick event info</p>
<pre lang="ruby">
<pre class="brush: ruby">
//e.g:
&lt;&lt;%= onclick_to_remote :url =&gt; my_restful_url %&gt;; class=&quot;my_1&quot;&gt;;
</pre>
</pre>
<p>I works for me and get the work done.. arguments such as :with are supported.. Posting it here hoping someone will find it useful or may be improve it as well.<br />
check out the pastie for better viewing pleasure and understanding http://pastie.caboo.se/200546</p>
<pre>
<pre class="brush: ruby">
def onclick_to_remote(options = {})
*args = remote_function(options)
function = args[0] || &#039;&#039;
function = update_page(&amp;amp;block) if block_given?
&quot;onclick=\&quot;#{function}; return false;\&quot;&quot;
end
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kill3rmedia.com/featured/simple-rails-helper-for-using-onclick-on-div-tr-and-other-tags/feed</wfw:commentRss>
		</item>
		<item>
		<title>attachment_fu file rename file rename / change filename : HOWTO</title>
		<link>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/attachment_fu-file-rename-file-rename-change-filename-howto</link>
		<comments>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/attachment_fu-file-rename-file-rename-change-filename-howto#comments</comments>
		<pubDate>Tue, 04 Mar 2008 08:06:00 +0000</pubDate>
		<dc:creator>buddhi</dc:creator>
		
		<category><![CDATA[Ruby / Rails]]></category>

		<category><![CDATA[attachment_fu]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kill3rmedia.enspark.com/uncategorized/attachment_fu-file-rename-file-rename-change-filename-howto/</guid>
		<description><![CDATA[<p>I&#8217;ve been looking for a solution to change the filenames of the uploaded files and came across the great tutorial at http://the.railsi.st/2007/8/21/how-to-customize-attachment_fu-file-names/  but it was not what i was exactly looking for. I had issues with viewing the saved files&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for a solution to change the filenames of the uploaded files and came across the great tutorial at http://the.railsi.st/2007/8/21/how-to-customize-attachment_fu-file-names/  but it was not what i was exactly looking for. I had issues with viewing the saved files because the thumbnail property does not exist for the new attachment etc.</p>
<p>I&#8217;m posting what I did and it changes the filenames to what ever we specify.. Works for me, and hopefully it will work for someone else as well.. :)</p>
<p><a href="http://pastie.caboo.se/161062" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://pastie.caboo.se/161062');">checkout the pastie for a better view of the code http://pastie.caboo.se/161062</a></p>
<pre class="brush: rails">
class Photo &lt; ActiveRecord::Base
	#Options for has_attachment
	has_attachment	:content_type	=&gt; :image,
			:storage 	=&gt; :file_system,
			:size =&gt; 1.kilobyte .. 10.megabytes,
			:resize_to =&gt; &#039;500&gt;&#039;,
			:thumbnails =&gt; { :thumb =&gt; &#039;125&#039; },
			:path_prefix =&gt; &#039;public/images/product_pics&#039;,
			:processor    =&gt; &#039;MiniMagick&#039;
	validates_as_attachment

	belongs_to  :product

	#Filename changing stuff, these methods resides in attachement_fu plugin files..
	#and we are just modifying them to fit our needs and putting them in our model
	#so other models will not be effected
	def full_filename(thumbnail = nil)
		file_system_path = (thumbnail ? thumbnail_class : self).attachment_options[:path_prefix]
		@thumb = self.thumbnail unless (@thumb = thumbnail) #checks if thumbnails info already exist
		File.join(RAILS_ROOT, file_system_path, self.product.code, thumbnail_name_for(@thumb, self.product.code))
	end

	#Change the filenames and thumbnail suffixes
	def thumbnail_name_for(thumbnail = nil, asset = nil)
		suffix = &quot;_#{thumbnail}&quot; unless thumbnail.blank?  #sets suffix by the name of the thumbnail set in has_attachment options
		extension = filename.scan(/\.\w+$/) # extracts extension
		return &quot;#{asset}#{suffix}#{extension}&quot; # change the filename to fit your needs
	end

	before_thumbnail_saved do |record, thumbnail|
		thumbnail.product_id = record.product_id
	end

end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/attachment_fu-file-rename-file-rename-change-filename-howto/feed</wfw:commentRss>
		</item>
		<item>
		<title>Linux Icons for Ruby &amp; Rails: .rb, .rjs, .yml, .erb</title>
		<link>http://kill3rmedia.com/blog/linux/linux-icons-for-ruby-rails-rb-rjs-yml-erb</link>
		<comments>http://kill3rmedia.com/blog/linux/linux-icons-for-ruby-rails-rb-rjs-yml-erb#comments</comments>
		<pubDate>Fri, 08 Feb 2008 11:11:00 +0000</pubDate>
		<dc:creator>buddhi</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ruby / Rails]]></category>

		<category><![CDATA[Icons]]></category>

		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://kill3rmedia.enspark.com/uncategorized/linux-icons-for-ruby-rails-rb-rjs-yml-erb/</guid>
		<description><![CDATA[<p>I&#8217;ve been looking for icons for ruby files and other rails related files. Since I couldn&#8217;t find any, thought of making few myself using few available stuff.</p>
<p>Right click and save the files.</p>
<p style="clear:both"><a href="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0HI/AAAAAAAAAOs/jw5oEvEEPxU/s1600-h/application-x-ruby.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0HI/AAAAAAAAAOs/jw5oEvEEPxU/s1600-h/application-x-ruby.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559408446951538" style="cursor: pointer; border: 0; vertical-align: top;" src="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0HI/AAAAAAAAAOs/jw5oEvEEPxU/s400/application-x-ruby.png" border="0" alt="" /></a></p>
<p style="clear:both"><a href="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0II/AAAAAAAAAO0/XOzWTHi7JbU/s1600-h/text-x-rjs.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0II/AAAAAAAAAO0/XOzWTHi7JbU/s1600-h/text-x-rjs.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559408446951554" style="cursor: pointer; border: 0; vertical-align: top;" src="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0II/AAAAAAAAAO0/XOzWTHi7JbU/s400/text-x-rjs.png" border="0" alt="" /></a></p>
<p style="clear:both"><a href="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0JI/AAAAAAAAAO8/G3M7xKjrPA8/s1600-h/text-x-ruby.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0JI/AAAAAAAAAO8/G3M7xKjrPA8/s1600-h/text-x-ruby.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559412741918866" class="alignleft" style="cursor: pointer; border: 0; float: left;" src="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0JI/AAAAAAAAAO8/G3M7xKjrPA8/s400/text-x-ruby.png" border="0" alt="" /></a></p>
<p style="clear:both"><a href="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0KI/AAAAAAAAAPE/sQJJ-c4vzJM/s1600-h/text-x-yml.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0KI/AAAAAAAAAPE/sQJJ-c4vzJM/s1600-h/text-x-yml.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559412741918882" class="alignleft" style="cursor: pointer; border: 0; float: left;" src="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0KI/AAAAAAAAAPE/sQJJ-c4vzJM/s400/text-x-yml.png" border="0" alt="" /></a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for icons for ruby files and other rails related files. Since I couldn&#8217;t find any, thought of making few myself using few available stuff.</p>
<p>Right click and save the files.</p>
<p style="clear:both"><a href="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0HI/AAAAAAAAAOs/jw5oEvEEPxU/s1600-h/application-x-ruby.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0HI/AAAAAAAAAOs/jw5oEvEEPxU/s1600-h/application-x-ruby.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559408446951538" style="cursor: pointer; border: 0; vertical-align: top;" src="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0HI/AAAAAAAAAOs/jw5oEvEEPxU/s400/application-x-ruby.png" border="0" alt="" /></a></p>
<p style="clear:both"><a href="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0II/AAAAAAAAAO0/XOzWTHi7JbU/s1600-h/text-x-rjs.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0II/AAAAAAAAAO0/XOzWTHi7JbU/s1600-h/text-x-rjs.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559408446951554" style="cursor: pointer; border: 0; vertical-align: top;" src="http://bp2.blogger.com/_xAlym0Ykss4/R6wza0Hh0II/AAAAAAAAAO0/XOzWTHi7JbU/s400/text-x-rjs.png" border="0" alt="" /></a></p>
<p style="clear:both"><a href="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0JI/AAAAAAAAAO8/G3M7xKjrPA8/s1600-h/text-x-ruby.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0JI/AAAAAAAAAO8/G3M7xKjrPA8/s1600-h/text-x-ruby.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559412741918866" class="alignleft" style="cursor: pointer; border: 0; float: left;" src="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0JI/AAAAAAAAAO8/G3M7xKjrPA8/s400/text-x-ruby.png" border="0" alt="" /></a></p>
<p style="clear:both"><a href="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0KI/AAAAAAAAAPE/sQJJ-c4vzJM/s1600-h/text-x-yml.png" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0KI/AAAAAAAAAPE/sQJJ-c4vzJM/s1600-h/text-x-yml.png');" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" rel="lightbox[22]"><img id="BLOGGER_PHOTO_ID_5164559412741918882" class="alignleft" style="cursor: pointer; border: 0; float: left;" src="http://bp3.blogger.com/_xAlym0Ykss4/R6wzbEHh0KI/AAAAAAAAAPE/sQJJ-c4vzJM/s400/text-x-yml.png" border="0" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://kill3rmedia.com/blog/linux/linux-icons-for-ruby-rails-rb-rjs-yml-erb/feed</wfw:commentRss>
		</item>
		<item>
		<title>Controller Inheritance and RESTful routes</title>
		<link>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/controller-inheritance-and-restful-routes</link>
		<comments>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/controller-inheritance-and-restful-routes#comments</comments>
		<pubDate>Thu, 07 Feb 2008 17:32:00 +0000</pubDate>
		<dc:creator>buddhi</dc:creator>
		
		<category><![CDATA[Ruby / Rails]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kill3rmedia.enspark.com/uncategorized/controller-inheritance-and-restful-routes/</guid>
		<description><![CDATA[<p>Sometimes we might need to implement controller inheritance; to have a DRYer code, a logical way to organize our project using or let it be purely the personal preference. It would be especially helpful for an admin area of a&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Sometimes we might need to implement controller inheritance; to have a DRYer code, a logical way to organize our project using or let it be purely the personal preference. It would be especially helpful for an admin area of a website (which I wanted to implement as well as shown in the example of <a href="http://justinfrench.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://justinfrench.com/');">Justin French</a>)</p>
<p>Admin Lounge Controller:</p>
<pre class="brush: rails">class Admin::ProductsController</pre>
<p>This has been well explained <a href="http://justinfrench.com/index.php?id=122" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://justinfrench.com/index.php?id=122');">here</a> and it helped me to fix few things which I&#8217;ve been struggling to do and also convinced me i was doing something meaningful.</p>
<p>then if we need to use restful routing for these and if you dont know how to create the route similar to <span>admin_product<span style="color: #ff0000;">s</span>_url</span> or <span>edit_admin_product_url</span>. routes.rb got an example how to get it done. However you can find a better example <a href="http://railstips.org/2007/4/28/namespaces-added-to-routes" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://railstips.org/2007/4/28/namespaces-added-to-routes');">here</a>.</p>
<p>Controller Inheritance<br />
<a href="http://justinfrench.com/index.php?id=122" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://justinfrench.com/index.php?id=122');">http://justinfrench.com/index.php?id=122</a></p>
<p>RESTful routes for Controller Inheritance<br />
<a href="http://railstips.org/2007/4/28/namespaces-added-to-routes" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://railstips.org/2007/4/28/namespaces-added-to-routes');">http://railstips.org/2007/4/28/namespaces-added-to-routes</a></p>
<p>Great RESTful RAILS tutorial<br />
<a href="http://www.b-simple.de/download/restful_rails_en.pdf" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.b-simple.de/download/restful_rails_en.pdf');">http://www.b-simple.de/download/restful_rails_en.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/controller-inheritance-and-restful-routes/feed</wfw:commentRss>
		</item>
		<item>
		<title>RAILS on Ubuntu 7.1</title>
		<link>http://kill3rmedia.com/blog/linux/rails-on-ubuntu-71</link>
		<comments>http://kill3rmedia.com/blog/linux/rails-on-ubuntu-71#comments</comments>
		<pubDate>Fri, 25 Jan 2008 04:24:00 +0000</pubDate>
		<dc:creator>buddhi</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ruby / Rails]]></category>

		<category><![CDATA[Errors]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Howto]]></category>

		<category><![CDATA[Installation]]></category>

		<category><![CDATA[MySql]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kill3rmedia.enspark.com/uncategorized/rails-on-ubuntu-71/</guid>
		<description><![CDATA[<p>Windows platform may not be the ideal place to develop or deploy your Apache/MySQL/PHP or RoR(Ruby on Rails) applications. However I came across few problems myself trying to setup <span style="font-style: italic;">Ruby on Rails Development Machina</span> on Linux (Ubuntu 7.10). Once you fix&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Windows platform may not be the ideal place to develop or deploy your Apache/MySQL/PHP or RoR(Ruby on Rails) applications. However I came across few problems myself trying to setup <span style="font-style: italic;">Ruby on Rails Development Machina</span> on Linux (Ubuntu 7.10). Once you fix them, it works like a charm</p>
<p>There are many installation instructions and fixes posted everywhere. I thought of putting my own version to consolidate installation instructions and fixes to possible problems. I&#8217;ve also listed the sources I&#8217;ve referred myself and its recommended visit those websites if you need more detailed instructions as well as up-to-date news.</p>
<p><span style="font-weight: bold;font-size:130%;">POSSIBLE ISSUES</span></p>
<ul>
<li>rubygems (LoadError) require’: no such file to load – rubygems (LoadError)</li>
<li>MySql socket error No such file or directory - /tmp/mysql.sock</li>
<li>Open ssl problem when starting Webrick server</li>
</ul>
<p><span style="font-weight: bold;font-size:130%;">1. Install </span><span style="font-size: 130%; color: #990000;">libopenssl-ruby1.8</span><span style="font-weight: bold;font-size:130%;"> » </span><span style="font-weight: bold;font-size:130%;">fixes the Webrick server error on startup</span></p>
<p>2. Install <span style="font-size: 130%; color: #990000;">libmysqlclient15-dev</span><span style="font-weight: bold;font-size:130%;"> » </span><span style="font-weight: bold;font-size:130%;">fixes the MySQL sock not found issue</span><br />
<span style="font-size:130%;"><span style="font-weight: bold;font-size:85%;">Reference:</span></span><br />
<a href="https://help.ubuntu.com/community/RubyOnRails" onclick="javascript:pageTracker._trackPageview('/outbound/article/https://help.ubuntu.com/community/RubyOnRails');"><span style="font-size:85%;">https://help.ubuntu.com/community/RubyOnRails</span></a></p>
<p>3. Install <span style="font-size:130%;">Ruby</span><span style="font-weight: bold;font-size:130%;"> and </span><span style="font-size:130%;">Gems<br />
</span><span style="color: #990000;">Even though you can easily get ruby installed using apt-get it doesn&#8217;t fix the issue. We&#8217;ll have to compile it ourselves.</span><br />
<span style="font-size:130%;"><span style="font-weight: bold;font-size:85%;">Reference:</span><br />
<span style="font-size:85%;"><a href="http://www.thirdbit.net/articles/2007/10/04/installing-ruby-186-on-ubuntu-feisty-fawn-704/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.thirdbit.net/articles/2007/10/04/installing-ruby-186-on-ubuntu-feisty-fawn-704/');">http://www.thirdbit.net/articles/2007/10/04/installing-ruby-186-on-ubuntu-feisty-fawn-704/</a><br />
<a href="http://www.urbanpuddle.com/articles/2007/08/17/mongrel-cluster-1-0-2-and-ruby-1-8-5" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.urbanpuddle.com/articles/2007/08/17/mongrel-cluster-1-0-2-and-ruby-1-8-5');">http://www.urbanpuddle.com/articles/2007/08/17/mongrel-cluster-1-0-2-and-ruby-1-8-5</a><br />
<a href="http://www.urbanpuddle.com/articles/2008/01/09/install-ruby-on-rails-on-ubutu-gutsy-gibbon-apache-version" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.urbanpuddle.com/articles/2008/01/09/install-ruby-on-rails-on-ubutu-gutsy-gibbon-apache-version');">http://www.urbanpuddle.com/articles/2008/01/09/install-ruby-on-rails-on-ubutu-gutsy-gibbon-apache-version</a><br />
</span></span></p>
<ol>
<li>Download <a href="http://rubyforge.org/frs/download.php/18434/ruby-1.8.6.tar.bz2" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://rubyforge.org/frs/download.php/18434/ruby-1.8.6.tar.bz2');">ruby</a></li>
<li><span style="font-style: italic; color: #009900;">tar xjvf ruby-1.8.6.tar.bz2</span></li>
<li><span style="font-style: italic; color: #009900;">cd ruby-1.8.6</span></li>
<li><span style="font-style: italic; color: #009900;">sudo apt-get build-dep ruby1.8</span></li>
<li><span style="font-style: italic; color: #009900;">./configure &#8211;prefix=/usr</span></li>
<li><span style="font-style: italic; color: #009900;">make</span></li>
<li><span style="font-style: italic; color: #009900;">sudo make install</span></li>
<li><span style="font-style: italic; color: #009900;">ruby -v</span> and if you see something like <span style="font-style: italic; color: #009900;">ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]</span> ruby is installed :)</li>
<li>then we install ruby gems. download <a href="http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz');">rubygems</a> and extract it.</li>
<li><span style="font-style: italic;"><span style="color: #009900;">cd rubygems-1.0.1</span></span></li>
<li><span style="font-style: italic;"><span style="color: #009900;">sudo ruby setup.rb</span></span></li>
</ol>
<p><span style="font-weight: bold;font-size:130%;">4. Install </span><span style="font-size:130%;">Rails<br />
</span><span style="font-size:85%;"><span style="font-weight: bold;">Reference:</span><br />
<a href="http://rubyonrails.com/down" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://rubyonrails.com/down');">http://rubyonrails.com/down</a><br />
</span><a href="http://rubyonrails.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://rubyonrails.com/');"><span style="font-size:85%;">http://rubyonrails.com/</span></a></p>
<p><span style="font-style: italic;">sudo gem install rails &#8211;include-dependencies</span></p>
<p>We are done.. Worked for me, and fingers crossed it&#8217;ll work for anyone as well :)</p>
]]></content:encoded>
			<wfw:commentRss>http://kill3rmedia.com/blog/linux/rails-on-ubuntu-71/feed</wfw:commentRss>
		</item>
		<item>
		<title>Good RAILS (Ruby on Rails) IDE for Windows</title>
		<link>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/good-rails-ruby-on-rails-ide-for-windows</link>
		<comments>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/good-rails-ruby-on-rails-ide-for-windows#comments</comments>
		<pubDate>Sat, 20 Oct 2007 15:54:00 +0000</pubDate>
		<dc:creator>buddhi</dc:creator>
		
		<category><![CDATA[Ruby / Rails]]></category>

		<category><![CDATA[IDE]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kill3rmedia.enspark.com/uncategorized/good-rails-ruby-on-rails-ide-for-windows/</guid>
		<description><![CDATA[<p>I&#8217;ve been trying to do a small e-commerce website using <a href="http://www.rubyonrails.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.rubyonrails.org/');"><span style="font-weight: bold;">Ruby on Rails</span></a> recently. I&#8217;ve being looking for a good IDE for RAILS that runs under windows. Everybody talks about <a style="font-weight: bold;" href="http://macromates.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://macromates.com/');">textmate</a> on apple, unfortunately (<span style="font-style: italic;">still</span>) being a PC user and still stuck&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to do a small e-commerce website using <a href="http://www.rubyonrails.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.rubyonrails.org/');"><span style="font-weight: bold;">Ruby on Rails</span></a> recently. I&#8217;ve being looking for a good IDE for RAILS that runs under windows. Everybody talks about <a style="font-weight: bold;" href="http://macromates.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://macromates.com/');">textmate</a> on apple, unfortunately (<span style="font-style: italic;">still</span>) being a PC user and still stuck with windows (since adobe is not planning to release CS3 for Linux).</p>
<p>I&#8217;ve been evaluating almost every editor available. I&#8217;ve tried <a style="font-weight: bold;" href="http://www.aptana.com/rails/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.aptana.com/rails/');">Aptana studio </a><a href="http://www.aptana.com/rails/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.aptana.com/rails/');"><span style="font-weight: bold;">RadRails</span></a> yet it seems to be too heavy if you are just a simple RAILS developer with a low end system, otherwise its a feature rich, cross-platform and actively developed.</p>
<p>I came across this cool program named <a href="http://www.plasmacode.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.plasmacode.com/');"><span style="font-weight: bold;">RoRED</span></a>. Light weight and easy to use. Sure may have lot of things to improve but with its code completing macros RoRED gets the job done well for me (so far). It&#8217;s not Open Source (but as of today it&#8217;s free) yet worth a look if you are looking for a lightweight and good IDE for RAILS.</p>
]]></content:encoded>
			<wfw:commentRss>http://kill3rmedia.com/blog/ruby-and-ruby-on-rails-blog-2/good-rails-ruby-on-rails-ide-for-windows/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
