<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>A glimpse inside me.</description><title>George</title><generator>Tumblr (3.0; @georgealive)</generator><link>http://georgeanderson.com.br/</link><item><title>Ruby on Rails - Easy Setup on Ubuntu</title><description>&lt;p&gt;Today I had my first experience with Ruby on Rail in a &lt;a href="http://www.rhok.org/" target="_blank"&gt;RHOK&lt;/a&gt; event. After a terrible experience trying to setup the environment on a Windows 7 box, I came home and started to build my own environment on a Ubuntu 10.10 system.&lt;/p&gt;
&lt;p&gt;The project I am up to contribute is the &lt;a href="https://github.com/gelias/letshelp.it"&gt;letshelp.it&lt;/a&gt; and it has a few version constraints:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;span&gt;Ruby 1.8.7&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Rails 3.0.7&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;They also have &lt;span&gt;sqlite3-ruby&lt;/span&gt; as a requirement.&lt;/p&gt;
&lt;p&gt;Here is the installation process I took to have the basic environment necessary to start contributing to this project:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;$sudo apt-get install ruby ruby1.8-examples&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;$sudo apt-get install rubygems1.8&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;$sudo gem install rails —version 3.0.7&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;$export PATH=/var/lib/gems/1.8/bin:$PATH&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;With this you have the basic Ruby on Rails tool set ready. Ruby examples package is optional in the first line - I like to learn from examples. You may want to include the last command into your .bashrc file, so you have your PATH set in the next log on.&lt;/p&gt;
&lt;p&gt;Last step is to download the project and install its dependencies.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;$git clone git@github.com:gelias/letshelp.it.git&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I found some important packages that need to be installed or dependencies will fail.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;$sudo apt-get install ruby-dev libsqlite3-dev libsqlite3-ruby&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Then finally:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;$bundle update&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Done. Project ready to go. &lt;/p&gt;
&lt;p&gt;I hope this can be useful to someone else.&lt;/p&gt;
&lt;p&gt;George.&lt;/p&gt;</description><link>http://georgeanderson.com.br/post/13709468905</link><guid>http://georgeanderson.com.br/post/13709468905</guid><pubDate>Sat, 03 Dec 2011 23:08:44 -0400</pubDate><category>ruby rails linux</category></item><item><title>Mon Chéri.</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_lnkk8wcsue1qm830ko1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;span&gt;&lt;em&gt;Mon Chéri.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;</description><link>http://georgeanderson.com.br/post/7055267650</link><guid>http://georgeanderson.com.br/post/7055267650</guid><pubDate>Wed, 29 Jun 2011 17:43:44 -0300</pubDate></item></channel></rss>

