<?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>... coding (the life)</title>
	<atom:link href="http://www.marvinmarcelo.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marvinmarcelo.com</link>
	<description>Anything about programming, and a little about me.</description>
	<lastBuildDate>Thu, 29 Mar 2012 08:55:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>rvm libz.1.2.5.dylib and zlib on Mac</title>
		<link>http://www.marvinmarcelo.com/rvm-libz-1-2-5-dylib-and-zlib-on-mac/</link>
		<comments>http://www.marvinmarcelo.com/rvm-libz-1-2-5-dylib-and-zlib-on-mac/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 15:00:36 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[libz.dyld]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rvm]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[upgrade rails app]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1861</guid>
		<description><![CDATA[Got stuck on this while following Setting up a fresh Rails 3.1 project safely and Upgrading to Rails 3 Part 1. Took the first tutorial&#8217;s tip on setting up rvm per project or per application, the latter is for the &#8230; <a href="http://www.marvinmarcelo.com/rvm-libz-1-2-5-dylib-and-zlib-on-mac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Got stuck on this while following <a href="http://andrewcox.org/post/6187261893/setting-up-a-fresh-rails-3-1-project-safely" target="_blank">Setting up a fresh Rails 3.1 project safely</a> and <a href="http://railscasts.com/episodes/225-upgrading-to-rails-3-part-1" target="_blank">Upgrading to Rails 3 Part 1</a>. Took the first tutorial&#8217;s tip on setting up rvm per project or per application, the latter is for the upgrade procedure.</p>
<p>I have 1.8.7 and 1.92 rubies installed, and the app I was upgrading is from 2.2.x. I&#8217;ve setup a new .rvmrc on the app folder so it automatically uses 1.9.2. Though in the upgrade tutorial you have to do it manually by calling <code>rvm 1.9.2</code> or <code>rvm system</code>, my setup already loads 1.9.2 and to switch to 1.8.7 I&#8217;ll just issue <code>rvm system</code>.</p>
<p>On the part where I run <code>gem install rails</code> from <a href="http://railscasts.com/episodes/225-upgrading-to-rails-3-part-1" target="_blank">upgrading to rails 3</a>, I get this error:</p>
<pre lang="awk" escaped="true">
$ Irb ruby-1.9.2-p180: 001>
  require 'zlib' LoadError: dlopen(/Users/user1/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.7.0/zlib.bundle, 9): Library not loaded: libz.1.2.5.dylib
  Referenced from: /Users/user1/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.7.0/zlib.bundle
  Reason: image not found - /Users/user1/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.7.0/zlib.bundle
  from /Users/user1/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb: 36: in `require'
  from (irb): 1 from /Users/user1/.rvm/rubies/ruby-1.9.2-p180/bin/irb: 16: in`&lt;main&gt;'
</pre>
<p>I tried a lot of rvm docs, gem uninstall-install, gem update, switching apps and even sudo&#8217;ing (yeah I know, it defies the purpose of using rvm), but no dice. To cut the story short, the fix was <code>DYLD_FALLBACK_LIBRARY_PATH</code></p>
<p><code>export DYLD_FALLBACK_LIBRARY_PATH = $HOME/.rvm/usr/lib/</code></p>
<p>This can be in your bash profile or in .rvmrc, in case this only happens on one of you apps.</p>
<p><code>export DYLD_FALLBACK_LIBRARY_PATH = $rvm_path/usr/lib/</code></p>
<p>Found the answer here <a href="http://apribase.net/2010/11/13/macports-dyld_library_path/" target="_blank">http://apribase.net/2010/11/13/macports-dyld_library_path/</a> (it&#8217;s in Japanese though, just use G translate). Hope this helps.</p>
<p>Oh, I&#8217;ll update this as well for the Mac setup I use in the office plus the gem env.</p>
<p><em><strong>Update:</strong></em></p>
<p><code>System</code></p>
<pre lang="bash" escaped="true">
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.4.0]
  - INSTALLATION DIRECTORY: /Users/ubertordev2/.rvm/gems/ruby-1.8.7-p334
  - RUBY EXECUTABLE: /Users/ubertordev2/.rvm/rubies/ruby-1.8.7-p334/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/ubertordev2/.rvm/gems/ruby-1.8.7-p334/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-darwin-10
  - GEM PATHS:
     - /Users/ubertordev2/.rvm/gems/ruby-1.8.7-p334
     - /Users/ubertordev2/.rvm/gems/ruby-1.8.7-p334@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/
</pre>
<p><code>rvmrc</code></p>
<pre lang="awk" escaped="true">
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.10
  - RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin10.4.0]
  - INSTALLATION DIRECTORY: /Users/ubertordev2/.rvm/gems/ruby-1.9.2-p290
  - RUBY EXECUTABLE: /Users/ubertordev2/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/ubertordev2/.rvm/gems/ruby-1.9.2-p290/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-10
  - GEM PATHS:
     - /Users/ubertordev2/.rvm/gems/ruby-1.9.2-p290
     - /Users/ubertordev2/.rvm/gems/ruby-1.9.2-p290@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/rvm-libz-1-2-5-dylib-and-zlib-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RoR app</title>
		<link>http://www.marvinmarcelo.com/ror-app/</link>
		<comments>http://www.marvinmarcelo.com/ror-app/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 11:04:48 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[not about code]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1856</guid>
		<description><![CDATA[I&#8217;ll be starting on this small Ruby on Rails app. I think it would help motorists, but it&#8217;s not about traffic anymore.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be starting on this small Ruby on Rails app. I think it would help motorists, but it&#8217;s not about traffic anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/ror-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting things done</title>
		<link>http://www.marvinmarcelo.com/getting-things-done/</link>
		<comments>http://www.marvinmarcelo.com/getting-things-done/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 13:29:17 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1854</guid>
		<description><![CDATA[This is just me, I need this book and use it in not only on my job, but also in my daily life. Oh, yeah, in case you&#8217;d want an epub copy. I fortunately found one.]]></description>
			<content:encoded><![CDATA[<p>This is just me, I need this book and use it in not only on my job, but also in my daily life.</p>
<p>Oh, yeah, in case you&#8217;d want an epub copy. I <a href="http://btjunkie.org/torrent/Getting-Things-Done-David-Allen-EPUB-format/36657faf00a5c136b25b51b25eb2963ac86d5d0753eb" title="fortunately found" target="_blank">fortunately found one</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/getting-things-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iCloud! Almost there</title>
		<link>http://www.marvinmarcelo.com/icloud-almost-there/</link>
		<comments>http://www.marvinmarcelo.com/icloud-almost-there/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 14:17:19 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/?p=1835</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.marvinmarcelo.com/wp-content/uploads/2011/06/iCloud-Google-Chrome_018-300x157.png" alt="" title="iCloud - Google Chrome_018" width="300" height="157" class="alignnone size-medium wp-image-1851" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/icloud-almost-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Facebook app for both iPhone and iPad</title>
		<link>http://www.marvinmarcelo.com/new-facebook-app-for-both-iphone-and-ipad/</link>
		<comments>http://www.marvinmarcelo.com/new-facebook-app-for-both-iphone-and-ipad/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 14:04:51 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/new-facebook-app-for-both-iphone-and-ipad/</guid>
		<description><![CDATA[Login screenshots… It&#8217;s already out, finally, lifted the suspension.]]></description>
			<content:encoded><![CDATA[<p>Login screenshots…</p>
<p><img src="http://www.marvinmarcelo.com/wp-content/uploads/2011/10/20111011-220345.jpg" alt="20111011-220345.jpg" class="alignnone size-full" /></p>
<p>It&#8217;s already out, finally, lifted the suspension.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/new-facebook-app-for-both-iphone-and-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murata in PH</title>
		<link>http://www.marvinmarcelo.com/murata-in-ph/</link>
		<comments>http://www.marvinmarcelo.com/murata-in-ph/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 15:27:18 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[job]]></category>
		<category><![CDATA[not about code]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[charger]]></category>
		<category><![CDATA[iPad 2]]></category>
		<category><![CDATA[jobs]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/murata-in-ph/</guid>
		<description><![CDATA[This is just recently, Murata, the company who mass produce the first wireless charger for iPad 2 is venturing in the Philippines! I just read the news in GMANews feed. Here&#8217;s the link: http://www.gmanews.tv/story/233693/japans-murata-to-build-chip-plant-in-phl Isn&#8217;t that amazing?!]]></description>
			<content:encoded><![CDATA[<p>This is just recently, <a href="http://www.murata.com/">Murata</a>, the company who mass produce the first <a href="http://www.murata.com/products/wireless_power/index.html">wireless charger</a> for iPad 2 is venturing in the Philippines!</p>
<p>I just read the news in GMANews feed. Here&#8217;s the link:<br />
<a href="http://www.gmanews.tv/story/233693/japans-murata-to-build-chip-plant-in-phl">http://www.gmanews.tv/story/233693/japans-murata-to-build-chip-plant-in-phl</a></p>
<p>Isn&#8217;t that amazing?!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/murata-in-ph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curacha&#8217;s day</title>
		<link>http://www.marvinmarcelo.com/curachas-day/</link>
		<comments>http://www.marvinmarcelo.com/curachas-day/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 09:18:04 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[not about code]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/curachas-day/</guid>
		<description><![CDATA[Time to pamper her… At Orani, Bataan.]]></description>
			<content:encoded><![CDATA[<p>Time to pamper her…</p>

<a href='http://www.marvinmarcelo.com/curachas-day/attachment/009/' title='009'><img width="150" height="150" src="http://www.marvinmarcelo.com/wp-content/uploads/2011/09/009-150x150.jpg" class="attachment-thumbnail" alt="009" title="009" /></a>
<a href='http://www.marvinmarcelo.com/curachas-day/attachment/010/' title='010'><img width="150" height="150" src="http://www.marvinmarcelo.com/wp-content/uploads/2011/09/010-150x150.jpg" class="attachment-thumbnail" alt="010" title="010" /></a>
<a href='http://www.marvinmarcelo.com/curachas-day/attachment/012/' title='012'><img width="150" height="150" src="http://www.marvinmarcelo.com/wp-content/uploads/2011/09/012-150x150.jpg" class="attachment-thumbnail" alt="012" title="012" /></a>
<a href='http://www.marvinmarcelo.com/curachas-day/attachment/013/' title='013'><img width="150" height="150" src="http://www.marvinmarcelo.com/wp-content/uploads/2011/09/013-150x150.jpg" class="attachment-thumbnail" alt="013" title="013" /></a>

<p>At Orani, Bataan.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/curachas-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Location based reminders</title>
		<link>http://www.marvinmarcelo.com/location-based-reminders/</link>
		<comments>http://www.marvinmarcelo.com/location-based-reminders/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 11:25:11 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/location-based-reminders/</guid>
		<description><![CDATA[Just realized the usefulness of location based reminders that&#8217;s going to be released with the launch of new iOS 5, and that i felt the need to write something about it. Well, for me, I often forgot something what interests &#8230; <a href="http://www.marvinmarcelo.com/location-based-reminders/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just realized the usefulness of location based reminders that&#8217;s going to be released with the launch of new iOS 5, and that i felt the need to write something about it.</p>
<p>Well, for me, I often forgot something what interests me on certain places. Or even if someone asks me to grab something for them if I visit a place, town or province the next time. This app, if it works, should alert me of what stuff I need to grab while I&#8217;m at some place. This is one the reasons I am excited with the launch of iOS 5.</p>
<p>I wonder though, if it&#8217;s ever going to be of a purpose to remind &#8220;when you leave from a location&#8221;, as it would be triggered when you already left, or yes, it may serve some &#8211; for you to go back. If I remember correctly, there are triggers for that and &#8220;when you arrive at a location&#8221;. Or is there another one for &#8220;when you&#8217;re at a location&#8221;? But generally, it has a purpose.</p>
<p>They&#8217;re just my thoughts.</p>
<p>On an unrelated note, it&#8217;s quite a pain writing on wordpress for iphone, really! I actually updated this app just an hour ago. The cursor always returns back to the end of the content if you position to edit on other parts of the text. Neither it loads auto complete on words. And pressing space twice should add a period, but it doesn&#8217;t do that. Why?</p>
<p>Anyways.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/location-based-reminders/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Popcorn machine</title>
		<link>http://www.marvinmarcelo.com/popcorn-machine/</link>
		<comments>http://www.marvinmarcelo.com/popcorn-machine/#comments</comments>
		<pubDate>Wed, 11 May 2011 08:57:55 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[not about code]]></category>
		<category><![CDATA[work related]]></category>
		<category><![CDATA[Office]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/popcorn-machine/</guid>
		<description><![CDATA[Just posting this cute machine I saw in our office]]></description>
			<content:encoded><![CDATA[<p>Just posting this cute machine I saw in our office</p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-045719.jpg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-045719.jpg" alt="20110511-045719.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/popcorn-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leaving Baguio</title>
		<link>http://www.marvinmarcelo.com/leaving-baguio/</link>
		<comments>http://www.marvinmarcelo.com/leaving-baguio/#comments</comments>
		<pubDate>Sun, 01 May 2011 04:00:41 +0000</pubDate>
		<dc:creator>Marvin</dc:creator>
				<category><![CDATA[me stuff]]></category>
		<category><![CDATA[not about code]]></category>
		<category><![CDATA[Baguio]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Trip]]></category>

		<guid isPermaLink="false">http://www.marvinmarcelo.com/leaving-baguio/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-050856.jpg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-050856.jpg" alt="20110511-050856.jpg" class="alignnone size-full" /></a></p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-050836.jpg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-050836.jpg" alt="20110511-050836.jpg" class="alignnone size-full" /></a></p>
<p><a href="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-051012.jpg"><img src="http://www.marvinmarcelo.com/wp-content/uploads/2011/05/20110511-051012.jpg" alt="20110511-051012.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marvinmarcelo.com/leaving-baguio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

