<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sinatra Won't Start on Evan Hoffman</title><link>https://evan.wtf/tags/sinatra-wont-start/</link><description>Recent content in Sinatra Won't Start on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Thu, 07 Oct 2010 17:09:28 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/sinatra-wont-start/index.xml" rel="self" type="application/rss+xml"/><item><title>Trying to teach myself Ruby (again)</title><link>https://evan.wtf/2010/10/07/trying-to-teach-myself-ruby-again/</link><pubDate>Thu, 07 Oct 2010 17:09:28 +0000</pubDate><guid>https://evan.wtf/2010/10/07/trying-to-teach-myself-ruby-again/</guid><description>&lt;p&gt;Now that I have a real web project to work on I figured it&amp;rsquo;s a good time to try and teach myself Ruby again. Sinatra seems to be the new hotness so that&amp;rsquo;s what I&amp;rsquo;m trying, but so far things aren&amp;rsquo;t going quite as I expected. Everything appears to be installed, but when I run the &amp;ldquo;Hello, World!&amp;rdquo; script, the webserver doesn&amp;rsquo;t start as it&amp;rsquo;s apparently supposed to do:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;[evan@ehoffman 16:59:34 ~]$ ruby --version&#10;ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]&#10;[evan@ehoffman 16:59:39 ~]$ irb&#10;irb(main):001:0&amp;gt; require &amp;#39;sinatra&amp;#39;&#10;=&amp;gt; true&#10;irb(main):002:0&amp;gt;&#10;You have new mail in /var/spool/mail/evan&#10;[evan@ehoffman 17:00:20 ~]$ cat hi.rb&#10;#require &amp;#39;rubygems&amp;#39;&#10;require &amp;#39;sinatra&amp;#39;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;get &amp;lsquo;/&amp;rsquo; do&#10;&amp;ldquo;Hello World&amp;rdquo;&#10;end&#10;[evan@ehoffman 17:00:24 ~]$ ruby hi.rb&#10;[evan@ehoffman 17:00:33 ~]$&lt;/p&gt;</description></item></channel></rss>