summaryrefslogtreecommitdiff
path: root/lib/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/environment.rb')
-rw-r--r--lib/environment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/environment.rb b/lib/environment.rb
index f7513c5..ee36366 100644
--- a/lib/environment.rb
+++ b/lib/environment.rb
@@ -25,6 +25,10 @@ else
puts "Please edit #{user_file} and restart your application."
exit
end
+if @@users.length < 1 or !@@users
+ puts "Please edit #{user_file} and restart your application."
+ exit
+end
# RDF namespaces
RDF = Redland::Namespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'