lib/origen/users.rb in origen-0.2.2 vs lib/origen/users.rb in origen-0.2.3
- old
+ new
@@ -6,12 +6,13 @@
def app_users
# Had to do some shenanigans here due to Origen.root not being available
# when this file is included, only load the users from the app once a user
# method is first called
- return @app_users if @app_users
- require File.join(Origen.root, 'config', 'users')
- @app_users = users
+ # return @app_users if @app_users
+ # require File.join(Origen.root, 'config', 'users')
+ # @app_users = users
+ []
end
# Returns a user object representing the current user, will return a default
# user object if the current user is not known to the generator
def current_user