Deploying R_o_R to local servers


#1

Hi!

I’m pretty amazed by the features of RoR so far. But, as I come from the
desktop application development, my clients expect to run the magic on
their domain rather on a foreign one. Also I feel uncomfortable giving
away my RoR code to some hosting company, because I’m planning to do a
large application.

As I understand, RoR is designed to run on central web-servers and not
on client’s ones. Nevertheless, is there a way to run this app on a
client’s server and not to make them able to read the code?

Or, if there’s nothing, let’s put it the other way round: how could a
solution to this look like? Maybe writing a special Apache-module which
accesses ruby/rails?

Thanks a lot for your help,
hawe.


#2

Well… What you are really looking for is compiled ruby scripts like
Python has(And PHP with addons). I think that is something they are
working on for Ruby 2 but I might be wrong on that. I have looked at
some solutions for protecting the code but I have not been happy with
any of them. The only thing I have really been satisfied with is to
simply provide the computer that runs on the site and not give them
the password.

On 5/27/06, hawe removed_email_address@domain.invalid wrote:

client’s server and not to make them able to read the code?


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


#3

You might want to see this:

http://blog.zenspider.com/archives/2006/05/ruby_obfuscator.html

and contact Eric H. or Ryan D. about this product.

Michael


#4

Uhh. I might be misunderstanding yoi. Of course can all web servers be
accessed from all arround. If you want to run the Webrick server on
port 80 you have to start it as root as Linux, BSD and MacOs don’t
allow normal users to start anything on a port under 1024.

On 5/28/06, Pat L. removed_email_address@domain.invalid wrote:

I’m pretty amazed by the features of RoR so far. But, as I come from the
solution to this look like? Maybe writing a special Apache-module which
http://lists.rubyonrails.org/mailman/listinfo/rails


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


#5

Hi,

I’m putting up an app that, initially, will only be used by two users.
I’m about to buy an Apple box. Is it possible to set up an Apple as a
WebBrick Server and access from two different locations?

I’ve done this on an XP/Pro box using ASP.Net.

Thanks,
Pat


#6

Good morning,

I’ve committed to developing three applications using RoR.
I’m planning on using an Apple box to do the development.
I visited the Apple store in NYC and was very impressed with the choice
of machines and their associated cost. The sales folks were also very
helpful.

My question is: can you recommend a book or books that would help me “to
get me up to speed” with Apple?

Thank you,
Pat


#7

On 11/06/06, Pat L. removed_email_address@domain.invalid wrote:

My question is: can you recommend a book or books that would help me “to
get me up to speed” with Apple?

Depends on your background. I found ‘osx for unix geeks’ from o’reilly
was very
useful.


#8

My question is: can you recommend a book or books that would help
me “to
get me up to speed” with Apple?

I think you don’t need any book. Apple’s hardware is actually plug
and play. Apple’s softwares are so intuitive that you will be
comfortable with them quickly.


#9

If you are Linux person, you can install linux and not use OS-X.
If you are a windows person… well… Just install linux :wink: hehe

Kfir


#10

On 6/11/06, Kfir L. removed_email_address@domain.invalid wrote:

If you are Linux person, you can install linux and not use OS-X.
If you are a windows person… well… Just install linux :wink: hehe

Why install Linux. You already have all the linux software runnable on
MacOS??

My question is: can you recommend a book or books that would help me “to
get me up to speed” with Apple?

These is some book called MacOs X the missing manual that some people
like.
This is a nice article. There are a few more on this
http://www.samspublishing.com/articles/article.asp?p=132546&seqNum=1&rl=1


#11

Hi,
Thanks for the advice…I like the O’Reilly books and have purchased, at
your recommendation, “OS X for Unix Geeks…”.
Good week,
Pat


#12

Hi,
I’ve been using MS XP/Pro but I have used Linux in the past [and liked
it]. When I buy the Apple box, does it come with Linux installed?

I’ll check out the link you provided…

Ciao,
pat


#13

Good morning,

Thanks for the ‘heads up’…
I’ll proceed with the purchase…

Next question, the “AWDWR” book gives a caution in regard to Apple
default installation of RoR – it is that the RoR installation that
comes with the Apple box needs to be ignored and RoR needs to be
reinstalled…

I’ll probably be using OSX and Tiger…any advice in regard to the
installation of RoR, Ruby, MySQL, GEMS and Rake?

Good week,
Pat


#14

Good morning,
I’m currently working with MS XP/Pro and ASP.Net 2.0 but I have worked
with both Unix and Linux in the past…So, I’ll pick up the book you
recommended…
Ciao,
Pat


#15

Good morning Jon,
Thank you.
Good week,
Pat


#16

On 11 Jun 2006, at 15:40, Pat L. wrote:

Next question, the “AWDWR” book gives a caution in regard to Apple
default installation of RoR – it is that the RoR installation that
comes with the Apple box needs to be ignored and RoR needs to be
reinstalled…

I’ll probably be using OSX and Tiger…any advice in regard to the
installation of RoR, Ruby, MySQL, GEMS and Rake?

I found the best way was to install DarwinPorts (http://
darwinports.opendarwin.org/), then use that to install ruby and
rubygems (sudo port install ruby; sudo port install rb-rubygems). You
can then install rails, the MySQL bindings etc using rubygems as
normal. This way it’s trivial to keep everything up-to-date,
regardless of the operating system upgrades.

For MySQL itself, I just used the standard installer for Mac OS X. I
had problems trying to run the 64 bit version, so I’d advise using
the 32 bit PowerPC version even if you’ve got a G5 (chances are
you’ll be getting an Intel Mac anyway, so you’d want the x86 installer).

Kerry


#17

Good afternoon Kerry,
Thank you for all your good advice…I certainly will take it…
Cheers,
Pat


#18

I second the use of DarwinPorts. I really like James Duncan
Davidson’s article about using it to create a nice Ruby and Rails
development environment: http://duncandavidson.com/essay/2006/04/
portsandbox.

Regards,
Craig


#19

On 6/11/06, Pat L. removed_email_address@domain.invalid wrote:

Hi,
I’ve been using MS XP/Pro but I have used Linux in the past [and liked
it]. When I buy the Apple box, does it come with Linux installed?

No. You don’t need it. You can compile all Linux software righ inside
MacOS X. Some Linux software that is graphic based already has support
for OS X but for others you have to use the X server that comes with
OS X.


#20

Hi Craig,
Thanks for the information…I’ll see if I can get DarwinPorts up and
running…I’ll probably wind up with an Intel Apple box…
Cheers,
Pat