Onyx village gym is for rock types ONLY and since you need 2 gym badges to come here, it won't be easy but still give it your best shot!
you can challenge the gym leader for the gym badge or the gym itself but whatever you do, the gym leader will give it his/her best shot.
good luck!