Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Use DIR instead of FileUtils in bin/setup script

Dombi Attila41cef956a3a1
diff --git a/bin/setup b/bin/setup
index ade5e722b8c..5826ce42c28 100755
--- a/bin/setup
+++ b/bin/setup
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-require 'fileutils'
# path to your application root.
APP_ROOT = File.expand_path('..', __dir__)
@@ -8,7 +7,7 @@ def system!(*args)
system(*args, exception: true)
end
-FileUtils.chdir APP_ROOT do
+Dir.chdir APP_ROOT do
# This script is a way to set up or update your development environment automatically.
# This script is idempotent, so that you can run it at any time and get an expectable outcome.
# Add necessary setup steps to this file.