Discover the environment and relative path of the running application

Posted by Shyam on Stack Overflow See other posts from Stack Overflow or by Shyam
Published on 2010-04-07T15:08:45Z Indexed on 2010/04/07 20:53 UTC
Read the original article Hit count: 340

Filed under:
|
|
|
|

Hi,

While playing with RubyCocoa, I keep progressing with my idea for my application. Because my application will be going to use configuration files, I would like to know how I discover the relative path to store these inside my application structure (or if a better idea emerges, please elaborate also the "why").

Also good for me to know is to discover environment variables, such as operating system version, the amount of memory that is available and such. Hyperlinks would be awesome too.

Please notice I use RubyCocoa and thank you for your feedback, comments and answers!

© Stack Overflow or respective owner

Related posts about rubycocoa

Related posts about ruby