# Postgres gem for postgresql82 macports

**URL:** <https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957>\
**Category:** Rails\
**Created:** [May 24, 2007, 10:53am UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957 "2007-05-24T10:53:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 10:53am UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/1 "2007-05-24T10:53:44Z")

</div>

Hi,

Just to tell I succeeded in compiling the postgres gem for the  
postgresql82 macports with the line:

sudo gem install postgres – --with-pgsql-include=/opt/local/include/  
postgresql82/ --with-pgsql-lib-dir=/opt/local/lib/postgresql82/

## Jean-Christophe M.

> **[Édition et distribution de livres sur la musique, de partitions et de revues...](https://symetrie.com/fr)**
>
> Présentation des publications de Symétrie en musique, musicologie et médecine de la voix.

Better Nested Set for rails:  
[http://opensource.symetrie.com/trac/better\_nested\_set](http://opensource.symetrie.com/trac/better_nested_set)

---

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 11:01am UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/2 "2007-05-24T11:01:52Z")

</div>

Hi all,  
I will have to deploy a RoR project at the customer’s site.  
How can I protect the code of the webapp ? Is there an obfuscator for  
ruby ?

Do you think of another alternative ?  
Thank you for your feedbacks.  
Fred

---

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 12:28pm UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/3 "2007-05-24T12:28:05Z")

</div>

On 5/24/07, Fred L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,  
> I will have to deploy a RoR project at the customer’s site.  
> How can I protect the code of the webapp ? Is there an obfuscator for ruby ?
> 
> Do you think of another alternative ?  
> Thank you for your feedbacks.

Search the archives of this group on  
[http://groups.google.com/group/rubyonrails-talk](http://groups.google.com/group/rubyonrails-talk), the topic’s been  
brought up a lot, at least once during the last week.

I think the consensus is to either:  
#1 - host it yourself  
#2 - put your faith in copyright law / legal measures. Any technical  
solution is flawed anyway - if a computer can make sense of it, so can  
a dedicated attacker.

Isak

---

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/4 "2007-05-24T12:58:08Z")

</div>

Your help is appreciated.  
Hosting it myself is not possible, it is a customer requirement.  
I dont want an ultimate solution but an minimum (does it make sense?)  
one,  
just to prevent things like, for instance, modifying easily a view…  
Can we make a RoR app as a compiled executable ?

---

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/5 "2007-05-24T16:55:20Z")

</div>

Sorry, it was just a part of my initial question

---

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 6:17pm UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/6 "2007-05-24T18:17:37Z")

</div>

On May 24, 7:54 am, “Fred L.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > Can we make a RoR app as a compiled executable ?
> 
> > Please Google the archive.  
> > This same question was asked 2 days ago, and the week before,  
> > and the week before, and the week before…
> 
> > Alain

Isak’s answer is complete.  
[http://del.icio.us/tag/ruby+obfuscation](http://del.icio.us/tag/ruby+obfuscation)

except this isn’t rails-specific question  
[http://groups.google.com/group/ruby-talk-google?lnk=li](http://groups.google.com/group/ruby-talk-google?lnk=li)  
[http://blog.zenspider.com/archives/2006/07/zenobfuscate\_no.html](http://blog.zenspider.com/archives/2006/07/zenobfuscate_no.html)

---

<div class="post-metadata">

**Author:** ![Jean-Christophe\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6de8d8/32.png) [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Post date:** [May 24, 2007, 1:01pm UTC](https://www.ruby-forum.com/t/postgres-gem-for-postgresql82-macports/104957/7 "2007-05-24T13:01:08Z")

</div>

Fred,

> Can we make a RoR app as a compiled executable ?

Please Google the archive.  
This same question was asked 2 days ago, and the week before, and the  
week before, and the week before…

Alain
