[Rails-deploy] freezing gems when dev OS != prod OS

2008-10-30 Thread Bill Walton
My question arises from the fact that I'm developing on Windows but, in the short term, deploying to a shared, Linux-based host. I'm developing on Windows because that's where the app will eventually be installed. But in the short-term I'd like to protect my demos from any unfortold mods to th

[Rails-deploy] Re: What is the best hosting provider for an enterprise scale Rails application?

2008-05-28 Thread Bill Walton
I haven't used them personally, but Engine Yard focuses on this sort of hosting. They're not cheap. They're enterprise-oriented. HTH, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. T

[Rails-deploy] Re: is there a way to freeze Rails _after_ the fact?

2008-05-26 Thread Bill Walton
Thanks, Francois. I appreciate the help! Best regards, Bill francois.beausoleil wrote: On 25 mai, 14:48, "Bill Walton" <[EMAIL PROTECTED]> wrote: > > I've got a managed VPS (the hosting service provides > > support) and they just did an unannounced upgrade t

[Rails-deploy] is there a way to freeze Rails _after_ the fact?

2008-05-25 Thread Bill Walton
I've got a managed VPS (the hosting service provides support) and they just did an unannounced upgrade to Rails 2.0. My app is 1.2.x. Is there a way to freeze Rails and the other gems my app needs to a prior version _after_ the fact? I'm really in a bind here. Thanks, Bill --~--~-~--

[Rails-deploy] Re: Using form_for for nested objects

2007-05-24 Thread Bill Walton
Hi Jerome, I think you'll get more help with this on the development list at [EMAIL PROTECTED] The question doesn't seem to me to be deployment related. Best regards, Bill - Original Message - From: "Jerome Deflot" <[EMAIL PROTECTED]> To: Sent: Thursday, May 24, 2007 10:22 AM Subje

[Rails-deploy] deploying Rails app in subdomains of Rails app

2007-04-04 Thread Bill Walton
Hi, I've got a Rails app deployed at www.main-domain.com. I need to deploy copies of that app to subdomains like sub1.main-domain.com, sub2.main-domain.com, etc. Each subdomain could use the same app code, but each *must* have it's own database. (They also need their own images, stylesheets,

[Rails-deploy] [Slightly OT] Secure file delete utility

2007-03-30 Thread Bill Walton
I want to move to secure file deletes in my Rails app. My hosting service has said they'd install Wipe for me (I mentioned it by name) but I would very much like to use a utility that supports an asynchronous mode so it doesn't have a visible impact on the user experience. Does anyone have any

[Rails-deploy] Fiel permissions - how much can I lock down my app's files?

2007-03-26 Thread Bill Walton
Sorry for the cross-post. Having give it some additional thought, I realize now I should have posted this here first ;-p I want to lock down my site as much as possible and would like to set the file permissions as restrictively as possible. Is there any reason that any file used by my app b

[Rails-deploy] Re: Buffer overrun protection in Rails

2007-03-12 Thread Bill Walton
this in MySQL? Thanks, Bill - Original Message - From: "Ezra Zygmuntowicz" <[EMAIL PROTECTED]> To: Sent: Monday, March 12, 2007 6:54 PM Subject: [Rails-deploy] Re: Buffer overrun protection in Rails > > > On Mar 12, 2007, at 4:12 PM, Bill Walton wrote: > >>

[Rails-deploy] Buffer overrun protection in Rails

2007-03-12 Thread Bill Walton
Greetings! I apologize for the cross-post but could really use some feedback on this question. I've got both client-side and server-side validations in place, but wonder if I need to do more. Specifically, ... In addition to user input via browser, my Rails app can import the same data from

[Rails-deploy] Re: How to set '302 Moved' location protocol

2007-03-09 Thread Bill Walton
Hi Rob, First, thank you very much for your reply. I really appreciate it and, after taking a quick look at the first link, am feeling pretty sure it'll help me figure out what I need to do. Second thing is, I have no idea wtf a 'reverse proxy' is. Which is why I'm so very thankful to Robby

[Rails-deploy] How to set '302 Moved' location protocol

2007-03-09 Thread Bill Walton
Same problem, but hopefully a clearer call for help ;-) I need to set the protocol part of the Location: in the '302 Moved' header to 'https:'. I can see in Live HTTP Headers that it's currently set to 'http:'. This is causing warning dialogs ('you're being redirected to an unsecured page') u

[Rails-deploy] Re: Wierd 'Being redirected to non-secure' warnings but entire site is SSL

2007-03-09 Thread Bill Walton
Luke Francl wrote: > I can't say for sure if refresh_to will solve your problem > because we've never encountered it before (until I saw > your message I would not have thought a 302 between > two secure pages would cause this problem). Where I'm seeing the problem actually not between two pages

[Rails-deploy] Re: Wierd 'Being redirected to non-secure' warnings but entire site is SSL

2007-03-09 Thread Bill Walton
Hi Luke, Luke Francl wrote: > Is the visitor using IE 6? I'm not sure what version she was using, but I've been able to reproduce it using IE 6. > There a problem with IE 6 that causes messages like > this when you go from a secure page to an insecure page. I'm getting it going from a secure

[Rails-deploy] Wierd 'Being redirected to non-secure' warnings but entire site is SSL

2007-03-09 Thread Bill Walton
Greetings all, I just got a report that I really need some help understanding. My site ( www.yourtimematters.com ) is set up so that 1) any attempted access to yourtimematters.com gets redirected to www.yourtimematters.com 2) all access to www.yourtimematters.com takes place using https:// The

[Rails-deploy] SSL on Rails questions

2007-02-28 Thread Bill Walton
Greetings! Please forgive the cross post. This is my first experience with implementing SSL, so I'm not even sure if this is an application development or deployment issue. I hope you'll forgive the "stupid newbie" questions. I'm going to install SSL over part of my app and will be using a ce

[Rails-deploy] SSL cert-type question

2007-02-27 Thread Bill Walton
I need to add SSL to parts of my app. The app's structured so that everything that needs to happen within SSL happens in one set of controllers and the stuff that doesn't happens in others. My business model is to provide the app as a service with each customer getting their own subdomain whe

[Rails-deploy] Re: Braindead simple deployment for non-geeks? (shared hosting)

2007-02-23 Thread Bill Walton
Hi Shanti, Shanti Braford wrote: > I was wondering if anyone could recommend > a webhost that has gone the extra mile to make > deploying Rails apps braindead simple for > non-geeks? I've been using a2hosting and have been very happy with their setup and support. I haven't used any other servi

[Rails-deploy] [RESOLVED] mongrel goes unresponsive after 30 minutes

2007-02-20 Thread Bill Walton
The problem has been resolved. I've included the 'bread crumbs' below to both recognize the contributors and to document it for future Railers. Thank you to all. Best regards, Bill Bill Walton wrote: > I'm in the process of moving my app from a shared > hosting a

[Rails-deploy] Re: mysql driver question

2007-02-18 Thread Bill Walton
Hi Anibal, Thank you for joining the thread. A follow-on question below. AnĂ­bal Rojas wrote: > As I undertand the ruby-mysql library 2.7 does require the > libmysqlclient to be properly installed, and depending on > the location of mysql.so it is possible that rubygems is unable > to load it, w

[Rails-deploy] Re: mysql driver question

2007-02-17 Thread Bill Walton
Hi Ezra, Ezra Zygmuntowicz wrote: > Also if your host is running linux then you > can tell for sure if it's the compiled driver > from irb: > > ey00-s00059 ~ # irb > irb(main):001:0> require 'mysql.so' > => true That was just what I needed to know. Here's what happens. When I run 'gem list

[Rails-deploy] Re: mysql driver question

2007-02-17 Thread Bill Walton
Thanks, Ezra! Best regards, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group,

[Rails-deploy] mysql driver question

2007-02-17 Thread Bill Walton
I asked my hosting service whether they were using the native ruby mysql driver or the compiled version and they responded with "We use Ruby gems". Does that mean they use the native ruby driver? I don't know enough about the architecture to know whether the gem is the driver, or just the api

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-16 Thread Bill Walton
Hi Zed, Thanks very much for your reply. I appreciate it very much. More below. Zed A. Shaw wrote: > Restart (USR2) isn't that reliable because of > how ruby/rails needs to reload. You should > use a full stop/start cycle instead. I've been doing that. Should have said it that way. > Once

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Bill Walton
Hi Robby, Robby Russell wrote: > > Do you have a cluster of mongrels running or just the one? I'm not sure and asked similar question of my hosting service today. I'll report back on that as soon as I find out. For development purposes I started with a shared hosting plan with the same provid

[Rails-deploy] Re: mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Bill Walton
Hi Anibal, Thanks! I've got the admin looking into now. I really appreciate the response. Best regards, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, sen

[Rails-deploy] mongrel goes unresponsive after 30 minutes

2007-02-08 Thread Bill Walton
Greetings! I'm in the process of moving my app from a shared hosting arrangement to a VPS and am seeing some mongrel behavior I haven't seen before. Specifically, after about 30 minutes of inactivity mongrel goes unresponsive and has to be restarted. When I restart it writes the messages belo

[Rails-deploy] Re: Logging problem in production environment

2007-02-04 Thread Bill Walton
Hi Ezra, Ezra Zygmuntowicz wrote: > I'm sorry but I don't have a clue as to how to > set ENV vars on windows. I didn't realize it was just an system environment variable. Sorry about that. I'll write up a little thing and put it on the SF repository or send it to you, whichever is better.

[Rails-deploy] Re: Logging problem in production environment

2007-02-04 Thread Bill Walton
Hi Chad, Chad Fowler wrote: > Rails doesn't log database activity in production > mode. There's nothing quite so frustrating as not knowing when you're done! ;-) Thanks very much for your help. I appreciate it! Best regards, Bill --~--~-~--~~~---~--~~ You

[Rails-deploy] Re: Logging problem in production environment

2007-02-04 Thread Bill Walton
> Ezra Zygmuntowicz wrote: > >> Have you tried starting backgroundrb after >> setting RAILS_ENV ? LIke : >> >> $ RAILS_ENV=production script/backgroundrb/start I can't use this syntax on my WinXP box. So I put the following line in start.rb right under the last 'require'. RAILS_ENV = 'productio

[Rails-deploy] Re: Logging problem in production environment

2007-02-04 Thread Bill Walton
Hi Ezra, Ezra Zygmuntowicz wrote: > Have you tried starting backgroundrb after > setting RAILS_ENV ? LIke : > > $ RAILS_ENV=production script/backgroundrb/start No I haven't. I did try starting Mongrel and then BackgrounDRb (thinking that that would ensure that RAILS_ENV would have a value) a

[Rails-deploy] Re: Logging problem in production environment

2007-02-04 Thread Bill Walton
Hi Chad, Chad Fowler wrote: > I think your problem is actually much worse than > just logging. Gee, that's good news ;-) > I believe BackgrounDrb is being started with > RAILS_ENV set to development, which means > it would be hitting the wrong database, etc. As I responded to Jeremy, it's not

[Rails-deploy] Re: Logging problem in production environment

2007-02-04 Thread Bill Walton
Hi Jeremy, Jeremy McAnally wrote: > How are you doing the logging exactly? > Can we see a code snippet? If you mean the code I'm using to do logging... I don't have any. The problem I'm experiencing is with the logging Rails does on it's own. Sorry I wasn't clear. Thanks much for your rep

[Rails-deploy] Logging problem in production environment

2007-02-03 Thread Bill Walton
Please forgive the cross-post. I haven't gotten any response on the BackgrounDRb list and am hoping someone here will have some idea about what the heck... I've just moved a small but important piece of my app into the production environment. The piece is using BackgrounDRb to do session mana