Added protected gemfile to fix rails server error, then modified admin models to allow permission