web_server_config_generator 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/web_server_setup +2 -3
- metadata +2 -2
data/bin/web_server_setup
CHANGED
@@ -256,9 +256,8 @@ module WebServerSetup
|
|
256
256
|
unless dir = $PROJECTS_DIRECTORY
|
257
257
|
puts "It looks like this is the first time you've run me."
|
258
258
|
puts
|
259
|
-
|
260
|
-
|
261
|
-
else
|
259
|
+
dir = @project_or_projects_dir || FileUtils.pwd
|
260
|
+
unless agree("setup #{dir} as your projects dir? [Y/n]") { |q| q.default = "Y"}
|
262
261
|
puts "for your first run you'll need to supply your projects directory"
|
263
262
|
exit
|
264
263
|
end
|