<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8160019139245069669</id><updated>2011-05-04T04:00:04.321-07:00</updated><category term='rails'/><category term='db'/><title type='text'>Dot Craft</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotcraft.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dotcraft.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>aeon</name><uri>http://www.blogger.com/profile/18356352031063910010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8160019139245069669.post-472576879714322332</id><published>2011-02-16T20:51:00.000-08:00</published><updated>2011-02-16T20:52:03.999-08:00</updated><title type='text'>install git - osx</title><content type='html'>http://progit.org/book/ch1-4.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160019139245069669-472576879714322332?l=dotcraft.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotcraft.blogspot.com/feeds/472576879714322332/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://dotcraft.blogspot.com/2011/02/install-git-osx.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/472576879714322332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/472576879714322332'/><link rel='alternate' type='text/html' href='http://dotcraft.blogspot.com/2011/02/install-git-osx.html' title='install git - osx'/><author><name>aeon</name><uri>http://www.blogger.com/profile/18356352031063910010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160019139245069669.post-5702053247287512922</id><published>2011-02-16T20:37:00.000-08:00</published><updated>2011-02-16T20:39:09.386-08:00</updated><title type='text'>restart apache on macosx</title><content type='html'>sudo apachectl restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160019139245069669-5702053247287512922?l=dotcraft.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotcraft.blogspot.com/feeds/5702053247287512922/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://dotcraft.blogspot.com/2011/02/restart-apache-on-macosx.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/5702053247287512922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/5702053247287512922'/><link rel='alternate' type='text/html' href='http://dotcraft.blogspot.com/2011/02/restart-apache-on-macosx.html' title='restart apache on macosx'/><author><name>aeon</name><uri>http://www.blogger.com/profile/18356352031063910010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160019139245069669.post-6218712916914482479</id><published>2011-02-16T19:59:00.000-08:00</published><updated>2011-02-16T20:10:37.744-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='db'/><title type='text'>remove mysql from osx</title><content type='html'>If you ever wish to completely remove mysql from osx, run:&lt;div&gt;&lt;div&gt;sudo rm /usr/local/mysql&lt;/div&gt;&lt;div&gt;sudo rm -rf /usr/local/mysql*&lt;/div&gt;&lt;div&gt;sudo rm -rf /Library/StartupItems/MySQLCOM&lt;/div&gt;&lt;div&gt;sudo rm -rf /Library/PreferencePanes/My*&lt;/div&gt;&lt;div&gt;vim /etc/hostconfig and removed the line MYSQLCOM=-YES-&lt;/div&gt;&lt;div&gt;rm -rf ~/Library/PreferencePanes/My*&lt;/div&gt;&lt;div&gt;sudo rm -rf /Library/Receipts/mysql*&lt;/div&gt;&lt;div&gt;sudo rm -rf /Library/Receipts/MySQL*&lt;/div&gt;&lt;div&gt;sudo rm -rf /var/db/receipts/com.mysql.*&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160019139245069669-6218712916914482479?l=dotcraft.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotcraft.blogspot.com/feeds/6218712916914482479/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://dotcraft.blogspot.com/2011/02/remove-mysql-from-osx.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/6218712916914482479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/6218712916914482479'/><link rel='alternate' type='text/html' href='http://dotcraft.blogspot.com/2011/02/remove-mysql-from-osx.html' title='remove mysql from osx'/><author><name>aeon</name><uri>http://www.blogger.com/profile/18356352031063910010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8160019139245069669.post-1224204906993142723</id><published>2011-02-14T14:37:00.000-08:00</published><updated>2011-02-16T18:44:40.254-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>ruby on rails on macosx</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 176.7px; text-indent: -176.8px; font: 11.0px 'Lucida Grande'"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mac OS X is bundled with ruby and rails, however they are not up-to-date.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 176.7px; text-indent: -176.8px; font: 11.0px 'Lucida Grande'"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;10.6.6 versions: &lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 176.7px; text-indent: -176.8px; font: 11.0px 'Lucida Grande'"&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Rails 2.3.5&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I followed the excellent guide at &lt;/span&gt;&lt;a href="http://spyrestudios.com/setting-up-a-rails-development-system-on-mac-osx-snow-leopard/"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;spyrestudios&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; to bring me up to speed on my ruby environment - including updating ruby+rails to the latest builds.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;MacPorts:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;After installing macports, run: &lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:Helvetica;"&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;sudo port -v selfupdate&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Helvetica;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;For exploring the available packages run the list command on port interactive mode.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Helvetica;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I also found it useful to install sqlite3: sudo port install sqlite3&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;RVM:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Run: &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;bash &lt; &lt;( curl http://rvm.beginrescueend.com/releases/rvm-install-latest )&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Place the following line in your ~/.profile: &lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;amp;&amp;amp; source "$HOME/.rvm/scripts/rvm"  # This loads RVM into a shell session.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="  color: rgb(7, 35, 153); font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"   style="font-family:Arial;color:#072399;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;For exploring RVM, run: &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;rvm list known&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;To update ruby run the following&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;i&gt;rvm install 1.9.2&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;i&gt;rvm system&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;i&gt;rvm gemset export system.gems #export your existing gems&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;i&gt;rvm 1.9.2&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;i&gt; rvm gemset import system #import gems&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Check out: &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;a href="http://rvm.beginrescueend.com/rubies/default/"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;http://rvm.beginrescueend.com/rubies/default/&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; to set the default ruby and to switch between 1.9.2. and system ruby.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-family:Helvetica;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Rails:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span"  style="font-family:Helvetica;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;rvm use –-create 1.9.2@rails3&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;gem install sqlite3-ruby&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;gem install rails&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8160019139245069669-1224204906993142723?l=dotcraft.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotcraft.blogspot.com/feeds/1224204906993142723/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://dotcraft.blogspot.com/2011/02/ruby-on-rails-on-macosx.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/1224204906993142723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8160019139245069669/posts/default/1224204906993142723'/><link rel='alternate' type='text/html' href='http://dotcraft.blogspot.com/2011/02/ruby-on-rails-on-macosx.html' title='ruby on rails on macosx'/><author><name>aeon</name><uri>http://www.blogger.com/profile/18356352031063910010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
