<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Raymond Guan on Medium]]></title>
        <description><![CDATA[Stories by Raymond Guan on Medium]]></description>
        <link>https://medium.com/@rguan8?source=rss-9fc88b933243------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kyMyPzvjttLxfKEfhXAN4w.jpeg</url>
            <title>Stories by Raymond Guan on Medium</title>
            <link>https://medium.com/@rguan8?source=rss-9fc88b933243------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:41:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rguan8/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Rails Console and IRB Command Lines are Different!?!?]]></title>
            <link>https://medium.com/@rguan8/the-rails-console-and-irb-command-line-are-different-74c9fb150cc6?source=rss-9fc88b933243------2</link>
            <guid isPermaLink="false">https://medium.com/p/74c9fb150cc6</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <dc:creator><![CDATA[Raymond Guan]]></dc:creator>
            <pubDate>Mon, 11 Jun 2018 05:50:52 GMT</pubDate>
            <atom:updated>2018-06-11T06:33:07.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4uYDfSiLloU_Z7j4_p8xw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/T2kZBPyLoeM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Aleksandr Saenko</a> on <a href="https://unsplash.com/search/photos/rails?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In a class exercise, I was trying to generate a rails module on irb abbreviation for Interactive Ruby Shell; but, it did not work! Yes, I am newbie with Ruby on Rails, and I thought that the rails console and irb command line were the same because the console syntax looked the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*Bzx97DXrEzA_O1qoBu2Qtg.png" /></figure><p>To add further confusion, irb(main) syntax shows up on both rails console and irb when entering the console. My instructor and TA instructed me to exit the console, watched me type irb, and they told me that I cannot enter rails commands in irb because irb is used for Ruby commands specifically, and rails commands must be entered in rails console.</p><p><strong>Additional Rails Console Troubleshooting Advice:</strong></p><p>If you still cannot run rails command in the rails console, close your terminal, open terminal, enter rails console, and try running rails command in the console again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74c9fb150cc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby on Rails Postgres Error]]></title>
            <link>https://medium.com/@rguan8/ruby-on-rails-postgres-error-7a814a7075ac?source=rss-9fc88b933243------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a814a7075ac</guid>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Raymond Guan]]></dc:creator>
            <pubDate>Tue, 29 May 2018 04:03:21 GMT</pubDate>
            <atom:updated>2018-06-11T06:34:39.763Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SSpHzY2WJnPrryDebbZU5g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/9p7nBsrcCt0?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Daniel Tafjord</a> on <a href="https://unsplash.com/search/photos/broken?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In my Actualize coding bootcamp class last week, we were instructed to install Rails. I installed Ruby on Rails on my MacBook, and ran the Rails server command; but, I received the following error.</p><pre>FATAL: could not open lock file “/tmp/.s.PGSQL.5432.lock”: Permission denied </pre><p>I asked my fellow classmates if they saw this error because they were having issues installing Rails as well; but, none of them seem to have came upon the issue. I did get some advice on uninstalling Postgres, and looking for the Postgres folder in the Application folder through Finder. I uninstalled Postgres by running the brew uninstall Postgres command, deleted the Postgres folder, and ran the brew install Postgres command to reinstall Postgres. Unfortunately, I was still getting the same error; therefore, I decided to restart the MacBook, and see if that would resolve the issue. After the restart, I ran the Rails Server command, checked on localhost:3000, and it said Yay you are now on Rails. The restart of the MacBook fixed the FATAL: could not open lock file“/tmp/.s.PGSQL.5432.lock”: Permission denied error for me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a814a7075ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>