File 'lib' not found How can I fix it?

i’am a new RoR programmer. When i install with command gem install rails i found file ‘lib’ not found. How can i fix it?