tag:help.rubygems.org,2010-01-19:/discussions/questions/73-running-shotgun-gemRubyGems.org: Discussion 2011-08-04T17:30:48Ztag:help.rubygems.org,2010-01-19:Comment/88654562011-07-29T15:34:00Z2011-07-29T15:34:00ZRunning Shotgun Gem<div><p>I would report this to shotgun's issue tracker as well: <a href=
"https://github.com/rtomayko/shotgun">https://github.com/rtomayko/shotgun</a></p>
<p>This could be a setup error though. How did you install
RubyGems? With RVM?</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/88654562011-07-29T15:52:27Z2011-07-29T15:52:29ZRunning Shotgun Gem<div><p>Hi Nick, thanks for the reply. That's what I thought at first,
so I uninstalled and re-installed through the terminal: sudo
apt-get install gem (on ubuntu)</p>
<p>When I run gem list:<br>
I see all of my libraries, but other than Sinatra, nothing else
works.</p>
<p>I posted this on LinkedIn, and someone advised the
following:</p>
<p>"It seems you have to add the shotgun bin to the executable
search path. Something like: export
PATH=/path/to/your/gems/bin:$PATH Try it in the command line and
then do the same in ~/bashrc"</p></div>MGtag:help.rubygems.org,2010-01-19:Comment/88654562011-07-29T15:56:11Z2011-07-29T15:56:11ZRunning Shotgun Gem<div><p>The <code>PATH</code> advice seems sound, but I would really
recommend using RVM.</p>
<p><a href=
"http://rvm.beginrescueend.com/">http://rvm.beginrescueend.com/</a></p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/88654562011-07-29T15:58:34Z2011-07-29T15:58:34ZRunning Shotgun Gem<div><p>Please do:</p>
<p><code>gem list -d shotgun</code></p>
<p>And will display <em>where</em> shotgun was installed.</p>
<p>Now, check if the closes directory to that installation location
is in the PATH</p>
<p>E.g.: if shotgun was installed in
<code>/Users/luis/.rvm/gems/ruby-1.8.7-p352</code> then
<code>/Users/luis/.rvm/gems/ruby-1.8.7-p352/bin</code> should be in
<code>$PATH</code></p>
<p>Check with: <code>echo $PATH</code></p>
<p>And if is not, it should be added.</p>
<p>Mixing Ruby installation via apt-get with other installation of
RubyGems (using <code>gem update --system</code> is a complicated
scenario)</p>
<p>On Debian/Ubuntu, <code>gem update --system</code> is disabled
and should not be used.</p>
<p>Manual installed RubyGems on Debian/Ubuntu do not install gems
in places in the PATH.</p>
<p>Let us know if that helps or not.</p></div>Luis Lavenatag:help.rubygems.org,2010-01-19:Comment/88654562011-07-29T16:07:41Z2011-07-29T16:07:45ZRunning Shotgun Gem<div><p>I'll give it a try over the weekend. If it wasn't obvious enough
already, I am a Ruby / Ruby Gem / RoR Noobster! But I am excited
about learning it...Thanks Guys!</p></div>Mago / MGtag:help.rubygems.org,2010-01-19:Comment/88654562011-07-30T22:43:43Z2011-07-30T22:43:45ZRunning Shotgun Gem<div><p>Hey Guys! So I am trying to install RVM, do I just type the
following like I see it?</p>
<p>bash < <(curl -s <a href=
"https://rvm.beginrescueend.com/install/rvm">https://rvm.beginrescueend.com/install/rvm</a>)</p>
<p>Thanks for your help!</p></div>MGtag:help.rubygems.org,2010-01-19:Comment/88654562011-08-04T17:30:47Z2011-08-04T17:30:47ZRunning Shotgun Gem<div><p>If you need help with RVM, please use IRC to reach other RVM
users that might assist you better than us:</p>
<p><a href=
"https://rvm.beginrescueend.com/support/irc/">https://rvm.beginrescueend.com/support/irc/</a></p></div>Luis Lavena