delete some unuse &&add some export and mkdir

some wrong with gem install