Determine if a rails application is started with the `rails server` command?
105356
Detect if application was started as HTTP server or not (rake task, rconsole etc)
136319
Is it possible to turn off auto-start for some (but not all) app servers deployed on Tomcat?
2267
How to detect if a script is being sourced
81002
How can I get the name of the command called for usage prompts in Ruby?
43988
find out which program pops up a command line window
59404
Server is already running in Rails
129828
Cucumber / Capybara -- how to get the host and port of the current execution
133460
Getting the Hostname or IP in Ruby on Rails
97344
How to tell if a session is active?
27743
Detect when an iOS app is launched for the first time?
78896
How to reload a gem on every request in Development mode?
157015
C#: How to programmatically check a web service is up and running?
6958
How can I check if a program exists from a Bash script?
70236
How can I make a Click-once deployed app run at startup?
53430
PHP - how to best determine if the current invocation is from CLI or web server?
49651
How to show SQL queries run in the Rails console?
45470
How do I get the version of an application from the command line?