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?
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.
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.
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 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?
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.
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 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
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).
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.
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.