installing devise and foundation