web_server_config_generator 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|