Permalink
Browse files

Fix credentials setup for --rackup option. closes #6.

  • Loading branch information...
1 parent d6a0c0e commit ed2ff67e92c973849d645fa3e171f6f6b09b12f1 @galetahub galetahub committed with akzhan Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/runit-man/app.rb
View
@@ -313,7 +313,7 @@ def exec_rackup(command)
ENV['RUNIT_ACTIVE_SERVICES_DIR'] = RunitMan::App.active_services_directory
ENV['RUNIT_LOGGER'] = RunitMan::App.runit_logger
ENV['RUNIT_MAN_VIEW_FILES'] = RunitMan::App.files_to_view.join(',')
- ENV['RUNIT_MAN_CREDENTIALS'] = RunitMan::App.allowed_users.keys.map { |user| "#{user}:#{RunitMan.allowed_users[user]}" }.join(',')
+ ENV['RUNIT_MAN_CREDENTIALS'] = RunitMan::App.allowed_users.keys.map { |user| "#{user}:#{RunitMan::App.allowed_users[user]}" }.join(',')
ENV['RUNIT_MAN_READWRITE_MODE'] = RunitMan::App.read_write_mode.to_s
Dir.chdir(File.dirname(__FILE__))

0 comments on commit ed2ff67

Please sign in to comment.