Ubuntu is one of the easiest Linux distributions to use with lots of documentation so it's a great one to start with.
You'll want to download the latest Desktop version here: Some of you may choose to develop on Ubuntu Server so that your development environment matches your production server. sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev Next we're going to be installing Ruby using one of three methods.
In this article, I’ll try to cover all the issues that I had, when I was upgrading one of my Rails app from Ruby on Rails 4.2 to Ruby on Rails 5.0.
Note: This is not a complete, covering every possible case tutorial. If so, feel free to comment and I will try to update the post with other issues and solutions. If you don’t have a good code coverage level and you lack tests, upgrading from Rails 4.2 to Rails 5 might be a big problem.
In my case, following files were affected: On branch rails5 Changes not staged for commit: modified: bin/rails modified: bin/rake modified: config/modified: config/modified: config/environments/modified: config/environments/modified: config/environments/modified: config/initializers/modified: config/initializers/cookies_modified: config/initializers/session_modified: config/initializers/wrap_Untracked files: bin/setup bin/update config/initializers/application_controller_config/initializers/backtrace_config/initializers/config/initializers/config/initializers/mime_config/initializers/request_forgery_config/redis/ However not all the changes are worth being mentioned (sometimes there were just comments changes).
If you didn’t have any custom stuff there, just go with the flow ;) I’ll just quote the comment from (although it is not a new feature it is still worth reminding): Settings in config/environments/* take precedence over those specified here. There’s something quite interesting in new development.rb: feature toggling.
We will be setting up a Ruby on Rails development environment on Ubuntu 16.04 Xenial Xerus.