I am trying to install Rails 4.0.0 according to the tutorial , but I am getting the following error:
gez@akira :~$ 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.10.gem (100%) Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. /home/gez/.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/gez/.rvm/gems/ ruby-2.0.0-p247@railstut _rails_4_0/gems/atomic-1.1.10/lib/home/gez/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/x86_64-linux /usr/bin/install: cannot create regular file `/home/gez/.rvm/gems/ ruby-2.0.0-p247@railstut _rails_4_0/gems/atomic-1.1.10/lib/home/gez/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/x86_64-linux': No such file or directory make: *** [install-so] Error 1 Gem files will remain installed in /home/gez/.rvm/gems/ ruby-2.0.0-p247@railstut _rails_4_0/gems/atomic-1.1.10 for inspection.
It seems that the two paths have become merged, but are not new to Rails / Ruby. I am not sure how to proceed. All of the previous steps seem to have completed successfully without errors.
My system is Linux Mint x86_64 (based on Debian).
source share