Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2092

Re: Sinatra and Shotgun Gems

From Brian Candler <b.candler@pobox.com>
Newsgroups comp.lang.ruby
Subject Re: Sinatra and Shotgun Gems
Date 2011-04-01 03:14 -0500
Organization Service de news de lacave.net
Message-ID <5d0d4571591430bbbfe6e58b941aff7a@ruby-forum.com> (permalink)
References <c2905e8d5acb8fb1db641492aab6064b@ruby-forum.com>

Show all headers | View raw


Ryan C. wrote in post #990276:
> I have tried editing my gem paths, but that shouldn't be it since
> sinatra works, right?

How did you install sinatra? You might be using the native Debian 
package rather than the gem:

$ apt-cache search sinatra
libsinatra-ruby - Ruby web-development dressed in a DSL (Ruby 1.8 
package)
libsinatra-ruby-doc - Ruby web-development dressed in a DSL 
(documentation)
libsinatra-ruby1.8 - Ruby web-development dressed in a DSL
libsinatra-ruby1.9.1 - Ruby web-development dressed in a DSL

in which case the gems dir may not in fact be on your search path.

I suggest you try the following:

export PATH=/var/lib/gems/1.8/bin:$PATH
shotgun ...blah blah...

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Sinatra and Shotgun Gems "Ryan C." <rclark.sf@gmail.com> - 2011-03-31 18:13 -0500
  Re: Sinatra and Shotgun Gems prasad <gdprasad@gmail.com> - 2011-03-31 23:31 -0500
  Re: Sinatra and Shotgun Gems Brian Candler <b.candler@pobox.com> - 2011-04-01 03:14 -0500
  Re: Sinatra and Shotgun Gems "Ryan C." <rclark.sf@gmail.com> - 2011-04-04 13:01 -0500

csiph-web