# Check version of RubyGems, FastCGI, PCRE / uninstall

**URL:** <https://www.ruby-forum.com/t/check-version-of-rubygems-fastcgi-pcre-uninstall/62636>\
**Category:** Rails\
**Created:** [June 6, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/check-version-of-rubygems-fastcgi-pcre-uninstall/62636 "2006-06-06T21:40:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [June 6, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/check-version-of-rubygems-fastcgi-pcre-uninstall/62636/1 "2006-06-06T21:40:29Z")

</div>

I followed hivelogic article on how to install Ror and Lighttpd on Mac  
OS.

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

But I’m not sure I got Lighttpd in the right place.

If I do “which lighttpd” and “lighttpd -v” I get answers from the  
terminal:

/usr/local/sbin/lighttpd

lighttpd-1.4.11 - a light and fast webserver

But I can’t find a Lighttpd folder. Should there be one?

How can I check so I got RubyGems, PCRE and FastCGI correctly installed?

If I want to try installing again, can I just do that? Will it overwrite  
the files I already got installed? Or how do I uninstall?

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [June 7, 2006, 12:05am UTC](https://www.ruby-forum.com/t/check-version-of-rubygems-fastcgi-pcre-uninstall/62636/2 "2006-06-07T00:05:56Z")

</div>

PÃ¥l BergstrÃ¶m wrote:

> If I do “which lighttpd” and “lighttpd -v” I get answers from the  
> terminal:
> 
> /usr/local/sbin/lighttpd
> 
> lighttpd-1.4.11 - a light and fast webserver

That’s where mine lives, and it works fine.

> But I can’t find a Lighttpd folder. Should there be one?

No. You should see its source directory in the terminal application  
wherever you built it. Mine’s in /usr/local/src. But you won’t see the  
/usr directory in the Finder, because it’s Magically Rendered  
Invisible:-)

> How can I check so I got RubyGems, PCRE and FastCGI correctly installed?

Are they installed in /opt? If so, you can see that in the Finder. Look  
in /opt/local/lib/ruby and the various directories thereof.

PCRE, on my machine, is in /usr/local/lib: ls /usr/local/lib/libpcre\*

> If I want to try installing again, can I just do that? Will it overwrite  
> the files I already got installed? Or how do I uninstall?

Yes, re-installing will replace the files that are being re-installed.

–Al Evans

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [June 7, 2006, 8:58am UTC](https://www.ruby-forum.com/t/check-version-of-rubygems-fastcgi-pcre-uninstall/62636/3 "2006-06-07T08:58:43Z")

</div>

Al Evans wrote:

> PÃ¥l BergstrÃ¶m wrote:
> 
> > If I do “which lighttpd” and “lighttpd -v” I get answers from the  
> > terminal:
> > 
> > /usr/local/sbin/lighttpd
> > 
> > lighttpd-1.4.11 - a light and fast webserver
> 
> That’s where mine lives, and it works fine.
> 
> > But I can’t find a Lighttpd folder. Should there be one?
> 
> No. You should see its source directory in the terminal application  
> wherever you built it. Mine’s in /usr/local/src. But you won’t see the  
> /usr directory in the Finder, because it’s Magically Rendered  
> Invisible:-)

You mean the directory from which it was built, src as suggested? Sorry  
for my lack of knowledge. I know my way around a bit with the terminal  
but I’ve never compiled (is that the name?) an app myself.

I got a Applescript making them visible 🙂 Either that or via the  
terminal. But that script is good to have.

> > How can I check so I got RubyGems, PCRE and FastCGI correctly installed?
> 
> Are they installed in /opt? If so, you can see that in the Finder. Look  
> in /opt/local/lib/ruby and the various directories thereof.

I don’t got an opt directory? Hmm. Are both rubygems and fastcgi  
installed with their names, so I can make a find?

> PCRE, on my machine, is in /usr/local/lib: ls /usr/local/lib/libpcre\*

Got that. 🙂

> > If I want to try installing again, can I just do that? Will it overwrite  
> > the files I already got installed? Or how do I uninstall?
> 
> Yes, re-installing will replace the files that are being re-installed.

Ok. Good to know. I might give Lighttpd another chance.

> –Al Evans

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [June 7, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/check-version-of-rubygems-fastcgi-pcre-uninstall/62636/4 "2006-06-07T13:56:35Z")

</div>

PÃ¥l BergstrÃ¶m wrote:

> > No. You should see its source directory in the terminal application  
> > wherever you built it. Mine’s in /usr/local/src. But you won’t see the  
> > /usr directory in the Finder, because it’s Magically Rendered  
> > Invisible:-)
> 
> You mean the directory from which it was built, src as suggested?

Yes. Unless you deleted it after the build.

> > > How can I check so I got RubyGems, PCRE and FastCGI correctly installed?
> > 
> > Are they installed in /opt? If so, you can see that in the Finder. Look  
> > in /opt/local/lib/ruby and the various directories thereof.
> 
> I don’t got an opt directory? Hmm. Are both rubygems and fastcgi  
> installed with their names, so I can make a find?

A find for -name ‘rubygems.rb’ should get rubygems; -name ‘fcgi.rb’  
should find fastcgi.

–Al Evans
