执行语句:gem install rails --version 4.0.0 --no-ri --no-rdoc
报错: Fetching: i18n-0.6.4.gem (100%) Successfully installed i18n-0.6.4 Fetching: multi_json-1.7.7.gem (100%) Successfully installed multi_json-1.7.7 Fetching: tzinfo-0.3.37.gem (100%) Successfully installed tzinfo-0.3.37 Fetching: atomic-1.1.11.gem (100%) Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension.
/home/go-faraman/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb creating Makefile
make compiling atomic_reference.c linking shared-object atomic_reference.so
make install /usr/bin/install -c -m 0755 atomic_reference.so /home/go-faraman/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/atomic-1.1.11/lib/home/go-faraman/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/x86_64-linux /usr/bin/install: 无法创建普通文件"/home/go-faraman/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/atomic-1.1.11/lib/home/go-faraman/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/x86_64-linux": 没有那个文件或目录 make: *** [install-so] 错误 1
Gem files will remain installed in /home/go-faraman/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/atomic-1.1.11 for inspection. Results logged to /home/go-faraman/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/atomic-1.1.11/ext/gem_make.out
求高手 怎么解决问题啊