Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Environments
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
BeagleBen  
View profile  
 More options May 31 2012, 6:31 pm
From: BeagleBen <ste...@stevencahill.co.uk>
Date: Thu, 31 May 2012 15:31:34 -0700 (PDT)
Local: Thurs, May 31 2012 6:31 pm
Subject: Environments

Hello all

I am returning to rails after a moving in with asp.net mvc for a while, I
have setup rails on a centos server with passenger, I have set the rails
environment as production within my httpd config, when I do rake about it
show the environment as development, Please can anyone advise what I have
missed.

Thank you in advance

Beagle


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey L. Taylor  
View profile  
 More options May 31 2012, 11:31 pm
From: "Jeffrey L. Taylor" <r...@abluz.dyndns.org>
Date: Thu, 31 May 2012 22:31:51 -0500
Local: Thurs, May 31 2012 11:31 pm
Subject: Re: [Rails] Environments
Quoting BeagleBen <ste...@stevencahill.co.uk>:

> Hello all

> I am returning to rails after a moving in with asp.net mvc for a while, I
> have setup rails on a centos server with passenger, I have set the rails
> environment as production within my httpd config, when I do rake about it
> show the environment as development, Please can anyone advise what I have
> missed.

You are running production in your webserver (presumably on port 80) and
development on the command line.  This is normal.  They are separate contexts.
The httpd config only applies to the Web server, not a terminal session.  If
you would start Webrick or other Rails server from the command line, it would
run the development environment on port 3000.  If you want to run in
production mode from the command line, type "export RAILS_ENV=production" in
bash or the equivalent in other shells (e.g. "RAILS_ENV=production; export
RAILS_ENV" in sh).

HTH,
  Jeffrey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BeagleBen  
View profile  
 More options Jun 1 2012, 12:59 pm
From: BeagleBen <ste...@stevencahill.co.uk>
Date: Fri, 1 Jun 2012 09:59:11 -0700 (PDT)
Local: Fri, Jun 1 2012 12:59 pm
Subject: Re: Environments

On Jun 1, 4:31 am, "Jeffrey L. Taylor" <r...@abluz.dyndns.org> wrote:

Many thanks for your help with this

Steven


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »