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. -- Posted via http://www.ruby-forum.com/.
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 <heikowebers@gmx.net> wrote:> 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. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
You might want to see this: http://blog.zenspider.com/archives/2006/05/ruby_obfuscator.html and contact Eric Hodel or Ryan Davis about this product. Michael
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 -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of hawe Sent: Saturday, May 27, 2006 9:53 AM To: rails@lists.rubyonrails.org Subject: [Rails] deploying R_o_R to local servers 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. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
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 Lynch <lynchnco@patmedia.net> wrote:> 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 > > > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of hawe > Sent: Saturday, May 27, 2006 9:53 AM > To: rails@lists.rubyonrails.org > Subject: [Rails] deploying R_o_R to local servers > > 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. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
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
> 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.
On 11/06/06, Pat Lynch <lynchnco@patmedia.net> 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. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/
If you are Linux person, you can install linux and not use OS-X. If you are a windows person... well... Just install linux ;) hehe Kfir On 6/11/06, Dick Davies <rasputnik@gmail.com> wrote:> On 11/06/06, Pat Lynch <lynchnco@patmedia.net> 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. > > -- > Rasputin :: Jack of All Trades - Master of Nuns > http://number9.hellooperator.net/ > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Jon Gretar Borgthorsson
2006-Jun-11 13:55 UTC
[Rails] Re: Looking for an Apple reference...
On 6/11/06, Kfir Lavi <lavi.kfir@gmail.com> 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 ;) heheWhy 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 -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
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 -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Roman LE NEGRATE Sent: Sunday, June 11, 2006 9:31 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Looking for an Apple reference...> 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. _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
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 -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Kfir Lavi Sent: Sunday, June 11, 2006 9:40 AM To: rails@lists.rubyonrails.org Subject: [Rails] Re: Looking for an Apple reference... If you are Linux person, you can install linux and not use OS-X. If you are a windows person... well... Just install linux ;) hehe Kfir On 6/11/06, Dick Davies <rasputnik@gmail.com> wrote:> On 11/06/06, Pat Lynch <lynchnco@patmedia.net> 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''reillywas> very > useful. > > -- > Rasputin :: Jack of All Trades - Master of Nuns > http://number9.hellooperator.net/ > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
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 -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jon Gretar Borgthorsson Sent: Sunday, June 11, 2006 9:55 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Re: Looking for an Apple reference... On 6/11/06, Kfir Lavi <lavi.kfir@gmail.com> 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 ;) heheWhy install Linux. You already have all the linux software runnable on MacOS??> > > My question is: can you recommend a book or books that would helpme "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&rl1 -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
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 -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Dick Davies Sent: Sunday, June 11, 2006 9:33 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Looking for an Apple reference... On 11/06/06, Pat Lynch <lynchnco@patmedia.net> 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. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
Jon Gretar Borgthorsson
2006-Jun-11 15:04 UTC
[Rails] Re: Looking for an Apple reference...
On 6/11/06, Pat Lynch <lynchnco@patmedia.net> 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. -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
Good morning Jon, Thank you. Good week, Pat -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jon Gretar Borgthorsson Sent: Sunday, June 11, 2006 11:04 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Re: Looking for an Apple reference... On 6/11/06, Pat Lynch <lynchnco@patmedia.net> 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. -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 11 Jun 2006, at 15:40, Pat Lynch 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
Good afternoon Kerry, Thank you for all your good advice...I certainly will take it... Cheers, Pat -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Kerry Buckley Sent: Sunday, June 11, 2006 1:24 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Looking for an Apple reference... On 11 Jun 2006, at 15:40, Pat Lynch 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 _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
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
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 -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Craig Demyanovich Sent: Sunday, June 11, 2006 2:56 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Looking for an Apple reference... 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 _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
Good afternoon, It looks like I can create an array of arrays. I need to do this in order to implement a graph that needs an x, y and exp(y) for each array index. I did the following: a = [[1,2,7.4], [2,5,148.4]] puts a[0] #returns 1,2,7.4 puts a[1] #returns 2,5,148.4 b = a[0] puts b[0] #returns 1 puts b[1] #returns 2 puts b[2] #returns 7.4 This does exactly what I want to do, but I was wondering if there is a more elegant way to do this...[I''m a scientific programmer who''s first language was Fortran]... Good week, Pat
You may also find this link useful: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger I just installed Ruby, Rails, and stuff this morning following the instructions. On 6/11/06, Pat Lynch <lynchnco@patmedia.net> wrote:> 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,-- ---------------------------------------------------- http://www.sobrerailes.com
Hey, Pat. This is pretty much a straight-up Ruby question, which really aren''t that appropriate for the Rails mailing list. That being said, what you are doing is exactly the way to access an Array of Array objects. The only piece of the syntax you are missing is: a[0] [0] #returns 1. -Brian On Jun 11, 2006, at 03:46 PM, Pat Lynch wrote:> It looks like I can create an array of arrays. I need to do this in > order to implement a graph that needs an x, y and exp(y) for each > array > index. > > I did the following: > a = [[1,2,7.4], [2,5,148.4]] > puts a[0] #returns 1,2,7.4 > puts a[1] #returns 2,5,148.4 > b = a[0] > puts b[0] #returns 1 > puts b[1] #returns 2 > puts b[2] #returns 7.4 > > This does exactly what I want to do, but I was wondering if there is a > more elegant way to do this...[I''m a scientific programmer who''s first > language was Fortran]...
Juan, Thanks again. I have to do a ''proof of concept'' study, using Ruby, and then I''ll get back to the Apple installation... Good week, Pat -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Juan Lupi?n Sent: Sunday, June 11, 2006 5:51 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Looking for an Apple reference... You may also find this link useful: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger I just installed Ruby, Rails, and stuff this morning following the instructions. On 6/11/06, Pat Lynch <lynchnco@patmedia.net> wrote:> 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,-- ---------------------------------------------------- http://www.sobrerailes.com _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
Thanks Brian...I''ll have to find the Ruby forum... -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Brian Hughes Sent: Monday, June 12, 2006 12:21 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Array of arrays... Hey, Pat. This is pretty much a straight-up Ruby question, which really aren''t that appropriate for the Rails mailing list. That being said, what you are doing is exactly the way to access an Array of Array objects. The only piece of the syntax you are missing is: a[0] [0] #returns 1. -Brian On Jun 11, 2006, at 03:46 PM, Pat Lynch wrote:> It looks like I can create an array of arrays. I need to do this in > order to implement a graph that needs an x, y and exp(y) for each > array > index. > > I did the following: > a = [[1,2,7.4], [2,5,148.4]] > puts a[0] #returns 1,2,7.4 > puts a[1] #returns 2,5,148.4 > b = a[0] > puts b[0] #returns 1 > puts b[1] #returns 2 > puts b[2] #returns 7.4 > > This does exactly what I want to do, but I was wondering if there is a > more elegant way to do this...[I''m a scientific programmer who''s first > language was Fortran]..._______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
In article <001101c68d5a$29ba8320$6401a8c0@stsv.com>, "Pat Lynch" <lynchnco@patmedia.net> wrote:> 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?Go grab the O''Reilly "OS X for Unix Geeks" book if you''re already a unix guy. And go to fink.sourceforge.net and install fink - it automates the process of installing tons of open source programs and knows about dependencies. This will make installing mysql or postgresql as simple as "fink install mysql" or "fink install postgresql". If you end up not liking the fink approach, there is also darwinports, but I don''t use it. -- Joe Block <jpb@apesseekingknowledge.net> Have GNU, will travel.
On 6/13/06, Joe Block <jpb@apesseekingknowledge.net> wrote:> > IAnd go to fink.sourceforge.net and install fink - it automates the > process of installing tons of open source programs and knows about > dependencies. This will make installing mysql or postgresql as simple as > "fink install mysql" or "fink install postgresql".is fink intel friendly now? last i knew it was still in the preliminary support stages... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060613/6f8414cf/attachment.html
Thanks Joe -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Joe Block Sent: Tuesday, June 13, 2006 9:12 AM To: rails@lists.rubyonrails.org Subject: [Rails] Re: Looking for an Apple reference... In article <001101c68d5a$29ba8320$6401a8c0@stsv.com>, "Pat Lynch" <lynchnco@patmedia.net> wrote:> 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 thechoice> 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?Go grab the O''Reilly "OS X for Unix Geeks" book if you''re already a unix guy. And go to fink.sourceforge.net and install fink - it automates the process of installing tons of open source programs and knows about dependencies. This will make installing mysql or postgresql as simple as "fink install mysql" or "fink install postgresql". If you end up not liking the fink approach, there is also darwinports, but I don''t use it. -- Joe Block <jpb@apesseekingknowledge.net> Have GNU, will travel. _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
How do you subscribe to the digest only?
On Sun, 2006-07-02 at 12:02 -0400, Pat Lynch wrote:> How do you subscribe to the digest only? > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails---- if you click on the link that is at the bottom of every page, you will see that there is a daily digest subscription option in the middle of the page when you subscribe. It appears that you would have to unsubscribe and then subscribe to the digest. Craig