<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Josh Kim dot Org - Latest Comments in PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkimdotorg.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 30 Jan 2009 00:01:34 -0000</lastBuildDate><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682583</link><description>&lt;p&gt;I've done a couple of rails installs now on laptops and found myself in the exact same situation as you when installing on a new box -- real headscratcher.  My problem was this: I'd installed rubygems via macports but neglected to install a fresh copy of rake via rubygems, which meant that when doing a rake db:migrate, it would find OS X's native rubygems.  I only figured this out because script/server (which relies on the ruby binary) was working where rake was not.&lt;/p&gt;&lt;br&gt;&lt;p&gt;A 'gem install rake' (and a new terminal window to clear the bash path cache -- try saying that out loud) fixed me right up.&lt;/p&gt;&lt;br&gt;&lt;p&gt;If this command doesn't return three binaries in the same directory for you, you might be in the same boat:&lt;/p&gt;&lt;br&gt;&lt;p&gt;$ which ruby rake gem&lt;/p&gt;&lt;br&gt;&lt;p&gt;-john&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Mileham</dc:creator><pubDate>Fri, 30 Jan 2009 00:01:34 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682594</link><description>argh thats what i get for rushing my reply&lt;br&gt;&lt;/br&gt;&lt;br&gt;heres the correct url&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;a href="http://netbeans.dzone.com/news/rails-and-postgresql-netbeans-" rel="nofollow"&gt;http://netbeans.dzone.com/news/rails-and-postgr...&lt;/a&gt;&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 22 Dec 2008 10:39:13 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682593</link><description>you folks want to be spoon-fed, hmmm i dunno, here you go&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;a href="http://blogs.sun.com/jkshah/entry/postgresql_and_netbeans_6_5" rel="nofollow"&gt;http://blogs.sun.com/jkshah/entry/postgresql_an...&lt;/a&gt;&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 22 Dec 2008 10:38:11 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4568515</link><description>argh thats what i get for rushing my reply&lt;br&gt;&lt;br&gt;heres the correct url&lt;br&gt;&lt;br&gt;&lt;a href="http://netbeans.dzone.com/news/rails-and-postgresql-netbeans-" rel="nofollow"&gt;http://netbeans.dzone.com/news/rails-and-postgr...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 22 Dec 2008 05:39:13 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4568507</link><description>you folks want to be spoon-fed, hmmm i dunno, here you go&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.sun.com/jkshah/entry/postgresql_and_netbeans_6_5" rel="nofollow"&gt;http://blogs.sun.com/jkshah/entry/postgresql_an...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 22 Dec 2008 05:38:11 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682592</link><description>Yeah Mustafa.. the url would&amp;#39;ve been a cool addition to your comment..</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Orhino</dc:creator><pubDate>Fri, 19 Dec 2008 06:24:29 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4516628</link><description>Yeah Mustafa.. the url would've been a cool addition to your comment..</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Orhino</dc:creator><pubDate>Fri, 19 Dec 2008 01:24:29 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682591</link><description>Mustafá, I woud like to find the &amp;#39;blog on the dzone site, by some indian guy&amp;#39; Could you tel us the url</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thooby</dc:creator><pubDate>Mon, 15 Dec 2008 22:55:33 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4417456</link><description>Mustafá, I woud like to find the 'blog on the dzone site, by some indian guy' Could you tel us the url</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thooby</dc:creator><pubDate>Mon, 15 Dec 2008 17:55:33 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682590</link><description>i got this setup working&lt;br&gt;&lt;/br&gt;&lt;br&gt;postgres 8.3.5&lt;/br&gt;&lt;br&gt;nb 6.5 ruby&lt;/br&gt;&lt;br&gt;postgres-pr 0.5.0&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;there are instructions on a blog on the dzone site, by some indian guy, it definitely works&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;you need to create the db before working with it from nb, once its created, migrations do work, but for some reason the inital create:db doesnt work.&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 15 Dec 2008 10:30:10 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4408013</link><description>i got this setup working&lt;br&gt;&lt;br&gt;postgres 8.3.5&lt;br&gt;nb 6.5 ruby&lt;br&gt;postgres-pr 0.5.0&lt;br&gt;&lt;br&gt;there are instructions on a blog on the dzone site, by some indian guy, it definitely works&lt;br&gt;&lt;br&gt;you need to create the db before working with it from nb, once its created, migrations do work, but for some reason the inital create:db doesnt work.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 15 Dec 2008 05:30:10 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682589</link><description>Yeah, same here. I started poking around in rails to see how I could&lt;br&gt;fix it, but I gave up after gobs and gobs of time spent on it. I also&lt;/br&gt;&lt;br&gt;remember it working in 2.1, because I was working on another rails&lt;/br&gt;&lt;br&gt;project back then... but something must have changed with 2.2.&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshkim</dc:creator><pubDate>Tue, 02 Dec 2008 19:26:53 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682588</link><description>Thanks for the reply joshkim.&lt;br&gt;&lt;/br&gt;&lt;br&gt;Well, all that&amp;#39;s being done there in the gist to do with this is "sudo gem install postgres", which is sorta obvious. I don&amp;#39;t think the problem is with the gem, though I&amp;#39;ve tried uninstalling and installing a few times, and tried the other ruby-pg gem too. Robby doesn&amp;#39;t have the same error I do. The error shows up when doing a rake command to create the database, and occurs for others when trying a rake db migration command. &lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;I think this error only shows up with the latest rails, because I&amp;#39;ve been using postgresql on my laptop with rails 2.1.1 for a while. But it messes up on my server, which has rails 2.2.2 installed. The problem doesn&amp;#39;t seem to be with the gem, but with activerecord itself. I don&amp;#39;t know nearly enough about rails to begin trying to solve it though.&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;I guess I may switch to mysql for now myself, just to get things working, but that isn&amp;#39;t really a solution to me.&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ehsanul</dc:creator><pubDate>Tue, 02 Dec 2008 19:04:33 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682587</link><description>Did you try the gist that robby posted? I haven&amp;#39;t had a chance to, but&lt;br&gt;it looks like it *may* work.&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;My solution was just to go MySQL and worry about integration with&lt;/br&gt;&lt;br&gt;PostgreSQL later, or maybe have that magic happen on the production&lt;/br&gt;&lt;br&gt;server, which has Ubuntu installed.&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshkim</dc:creator><pubDate>Tue, 02 Dec 2008 14:31:36 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4132081</link><description>Yeah, same here. I started poking around in rails to see how I could&lt;br&gt;fix it, but I gave up after gobs and gobs of time spent on it. I also&lt;br&gt;remember it working in 2.1, because I was working on another rails&lt;br&gt;project back then... but something must have changed with 2.2.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshkim</dc:creator><pubDate>Tue, 02 Dec 2008 14:26:53 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4131664</link><description>Thanks for the reply joshkim.&lt;br&gt;&lt;br&gt;Well, all that's being done there in the gist to do with this is "sudo gem install postgres", which is sorta obvious. I don't think the problem is with the gem, though I've tried uninstalling and installing a few times, and tried the other ruby-pg gem too. Robby doesn't have the same error I do. The error shows up when doing a rake command to create the database, and occurs for others when trying a rake db migration command. &lt;br&gt;&lt;br&gt;I think this error only shows up with the latest rails, because I've been using postgresql on my laptop with rails 2.1.1 for a while. But it messes up on my server, which has rails 2.2.2 installed. The problem doesn't seem to be with the gem, but with activerecord itself. I don't know nearly enough about rails to begin trying to solve it though.&lt;br&gt;&lt;br&gt;I guess I may switch to mysql for now myself, just to get things working, but that isn't really a solution to me.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ehsanul</dc:creator><pubDate>Tue, 02 Dec 2008 14:04:33 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682586</link><description>You&amp;#39;re wrong Carl. I saw this "solution" as well online (I&amp;#39;m having the same problem), and I did originally have it set to "postgres", which was wrong. But even after changing it to "postgresql", I get the same type of error. Actually, with adapter set to postgres, I get this error:&lt;br&gt;&lt;/br&gt;&lt;br&gt;"Please install the postgres adapter: `gem install activerecord-postgres-adapter` (no such file to load -- active_record/connection_adapters/postgres_adapter)"&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;When it&amp;#39;s set correct to "postgresql", I get this error:&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg)&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;I&amp;#39;ve tried both the ruby-pg and postgres gems, to no avail. Any help would be appreciated.&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ehsanul</dc:creator><pubDate>Tue, 02 Dec 2008 09:42:22 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4126680</link><description>Did you try the gist that robby posted? I haven't had a chance to, but&lt;br&gt;it looks like it *may* work.&lt;br&gt;&lt;br&gt;My solution was just to go MySQL and worry about integration with&lt;br&gt;PostgreSQL later, or maybe have that magic happen on the production&lt;br&gt;server, which has Ubuntu installed.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshkim</dc:creator><pubDate>Tue, 02 Dec 2008 09:31:36 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4124345</link><description>You're wrong Carl. I saw this "solution" as well online (I'm having the same problem), and I did originally have it set to "postgres", which was wrong. But even after changing it to "postgresql", I get the same type of error. Actually, with adapter set to postgres, I get this error:&lt;br&gt;&lt;br&gt;"Please install the postgres adapter: `gem install activerecord-postgres-adapter` (no such file to load -- active_record/connection_adapters/postgres_adapter)"&lt;br&gt;&lt;br&gt;When it's set correct to "postgresql", I get this error:&lt;br&gt;&lt;br&gt;Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg)&lt;br&gt;&lt;br&gt;I've tried both the ruby-pg and postgres gems, to no avail. Any help would be appreciated.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ehsanul</dc:creator><pubDate>Tue, 02 Dec 2008 04:42:22 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-4055082</link><description>Take a look at my comments here:&lt;br&gt;&lt;br&gt;&lt;a href="http://nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts" rel="nofollow"&gt;http://nachbar.name/blog/2008/11/28/rails-and-p...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Nachbar</dc:creator><pubDate>Fri, 28 Nov 2008 18:01:27 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682585</link><description>If that can help, I find the solution for ruby-pg. You must specify the adapter in config/database.yml at:&lt;br&gt;adapter:postgresql&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;That it! No more complain by Activerecord...&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;Thanks&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pelletier</dc:creator><pubDate>Fri, 07 Nov 2008 15:28:55 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-3592608</link><description>If that can help, I find the solution for ruby-pg. You must specify the adapter in config/database.yml at:&lt;br&gt;adapter:postgresql&lt;br&gt;&lt;br&gt;That it! No more complain by Activerecord...&lt;br&gt;&lt;br&gt;Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Pelletier</dc:creator><pubDate>Fri, 07 Nov 2008 10:28:55 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-5682584</link><description>Hey there... sorry to hear that you had some troubles. I am planning to post a new version of my post shortly. Here are some of my notes from doing a full install last week with my new MacBook Pro.&lt;br&gt;&lt;/br&gt;&lt;br&gt;* &lt;a href="http://gist.github.com/17502" rel="nofollow"&gt;http://gist.github.com/17502&lt;/a&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;Good luck!&lt;/br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robby Russell</dc:creator><pubDate>Fri, 31 Oct 2008 04:57:07 -0000</pubDate></item><item><title>Re: PostgreSQL, Ruby, and Rails: I Quit</title><link>http://joshkim.org/2008/10/26/postgresql-ruby-and-rails-i-quit/#comment-3403466</link><description>Hey there... sorry to hear that you had some troubles. I am planning to post a new version of my post shortly. Here are some of my notes from doing a full install last week with my new MacBook Pro.&lt;br&gt;&lt;br&gt;* &lt;a href="http://gist.github.com/17502" rel="nofollow"&gt;http://gist.github.com/17502&lt;/a&gt;&lt;br&gt;&lt;br&gt;Good luck!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robby Russell</dc:creator><pubDate>Thu, 30 Oct 2008 23:57:07 -0000</pubDate></item></channel></rss>