Top "Environment" questions

The O/S in which a process is executed, especially settings that affect the process

How to take command line argument in Codeblock 10.05?

I am writing a C code in codeblock version 10.05. The program is: int main(int argc , char *argv[]) { printf("Entered …

c environment
Best way to create custom config options for my Rails app?

I need to create one config option for my Rails application. It can be the same for all environments. I …

ruby-on-rails ruby configuration environment
Best general SVN Ignore Pattern?

What is the best (or as good as possible) general SVN ignore pattern to use? There are a number of …

svn language-agnostic version-control development-environment environment
Can you get DB username, pw, database name in Rails?

I'm writing a rake task that does some DB work outside of Rails/ActiveRecord. Is there a way to get …

ruby-on-rails ruby database activerecord environment
python subprocess Popen environment PATH?

I'm confused about how subprocess searches for the executable when using Popen(). It works if given absolute paths to the …

python path subprocess environment popen
How to set active spring 3.1 environment profile via a properites file and not via an env variable or system property

We use the new environment profiles feature of spring 3.1. We currently set the active profile by setting the environment variable …

spring environment profiles
Adding home-brew to PATH

I just installed Home-brew and now I'm trying to insert the home-brew directory at the top of my path environment …

variables path homebrew environment
fatal error C1083: Cannot open include file: 'Windows.h': and scons

Today is officially my first day with C++ :P I've downloaded Visual C++ 2005 Express Edition and Microsoft Platform SDK for …

visual-c++ path environment scons include
How can I determine if my rails is in the development environment and not the test environment?

I have some code that needs to run only if the rails app is in the development environment (i.e. $ …

ruby-on-rails testing environment
How to test HQL queries?

I'm searching for a fast (really fast) way to test changes to hibernate queries. I have a huge application with …

java hibernate testing hql environment