Note that there are some explanatory texts on larger screens.

plurals
  1. POErrors with shotgun gem and msvcrt-ruby18.dll when running my Sinatra app
    primarykey
    data
    text
    <p>Greetings,</p> <p>Every time I make a change to a Sinatra app I'm working on and try to refresh the browser (located at <a href="http://localhost:4567/" rel="nofollow noreferrer">http://localhost:4567/</a>) the browser will refresh and, the console window seems to restart the WEB brick server. The problem is that the content in the browser window does not change. </p> <p>A friend of mine told me it was a shotgun issue and referred me to rtomayko's shotgun gem:</p> <p><a href="http://github.com/rtomayko/shotgun" rel="nofollow noreferrer">http://github.com/rtomayko/shotgun</a></p> <p>On this page I read that the shotgun gem would basically solve my problem, allowing the changes made to my app to show up in the browser window after I refresh it. So I installed the shotgun gem. The installation was successful. To activate the shotgun function you have to type <strong>shotgun</strong> before the file name. In this case my Sinatra app's file name is <strong>shortener.rb</strong></p> <p>When I type <strong>shotgun shortener.rb</strong> to run my Sinatra app I get this error:</p> <p><a href="http://lh6.ggpht.com/_83PkeFeVNNk/S-ymaYEgDUI/AAAAAAAAArE/rr7uJE3dRj4/shotgun_error.png" rel="nofollow noreferrer">alt text http://lh6.ggpht.com/_83PkeFeVNNk/S-ymaYEgDUI/AAAAAAAAArE/rr7uJE3dRj4/shotgun_error.png</a></p> <p>I should also mention that before testing the shotgun method out to see if it worked, I installed the mongrel <em>(I realize I should have checked to see if shotgun worked before doing this as installing mongrel has complicated this problem)</em>. So on top of getting the error message above I also get this pop up window from Ruby.exe</p> <p><a href="http://lh6.ggpht.com/_83PkeFeVNNk/S-ymaaWIZKI/AAAAAAAAArA/8qYCGUN8Wo4/msvcrt-ruby18.dll_error.png" rel="nofollow noreferrer">alt text http://lh6.ggpht.com/_83PkeFeVNNk/S-ymaaWIZKI/AAAAAAAAArA/8qYCGUN8Wo4/msvcrt-ruby18.dll_error.png</a></p> <p>I have no idea what <strong>msvcrt-ruby18.dll</strong> is but I know that installing either <strong>shotgun</strong> and/or <strong>mongrel</strong> created this problem.</p> <p>Where to go from here?</p> <p>Thanks, Adam</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload