Today is Monday, I went to the new company on the 14th day, today continue Linux under the configuration of the Ruby and rails environment variables.
The first problem is
Mainly see ubuntu under Install rbenv,Ruby,rails development environment,
http://blog.chinaunix.net/uid-7915607-id-3961698.htm L
Reference rbenv+ruby-build managing Ruby
http://segmentfault.com/a/1190000000366488
The problem that follows is focused on the following 3 questions:
Could not find gems ' rails (= 4.0.2) Ruby ' in the gems available on this machine.
Run ' bundle install ' to install missing gems.
Gem::remotefetcher::fetcherror:errno::econnreset:connection Reset by Peer-ssl_connect (https://rubygems.org/gems/ Rake-10.4.2.gem)
An error occurred while installing rake (10.4.2), and bundler cannot continue.
Make sure that ' gem install rake-v ' 10.4.2 ' succeeds before bundling.
The main reason for these problems is the domestic network reasons, the need to change the source of RubyGems to a domestic source. There is a more detailed explanation in this article. RubyGems Mirror https://rubyt.aobao.org
After you have configured your own development environment, you can try to develop your own test program. Here rails is the official guide for Good Rails primer https://guides.ruby-china.org/getting_started.html, English good can be straight
The guide http://guides.rubyonrails.org/to the English language.
Today's problem is basically solved these, I hope we grow together.
Rbenv and Rails installation under Linux