{"id":1353,"date":"2017-01-09T04:41:32","date_gmt":"2017-01-09T04:41:32","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=1353"},"modified":"2017-01-09T07:23:23","modified_gmt":"2017-01-09T07:23:23","slug":"ruby-on-rails-installation-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/01\/09\/ruby-on-rails-installation-on-ubuntu-14-04\/","title":{"rendered":"Ruby On Rails Installation on Ubuntu 14.04"},"content":{"rendered":"<p>Source: <a href=\"https:\/\/www.howtoforge.com\/tutorial\/installing-ruby-on-rails-on-ubuntu-1404\/\" target=\"_blank\">Installing Ruby on Rails on Ubuntu 14.04 &#8211; 15.10<\/a> and <a href=\"http:\/\/railsapps.github.io\/installrubyonrails-ubuntu.html\" target=\"_blank\">Install Ruby on Rails \u00b7 Ubuntu Linux<\/a>.<\/p>\n<p>Installation:<\/p>\n<ol>\n<li>Install Ruby Version Manager (RVM). I already had &#8216;curl&#8217;, so import the rvm.io public key in the server system.\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ curl -#LO https:\/\/rvm.io\/mpapis.asc\r\n######################################################################## 100,0%<\/pre>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ gpg --import mpapis.asc\r\ngpg: key D39DC0E3: public key \"Michal Papis (RVM signing) &lt;mpapis@gmail.com&gt;\" imported\r\ngpg: Total number processed: 1\r\ngpg:               imported: 1  (RSA: 1)<\/pre>\n<p>&nbsp;<\/li>\n<li>Then download the RVM installer with curl and execute it (by piping the curl output to bash):\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~$ curl -sSL https:\/\/get.rvm.io | bash -s stable\r\nDownloading https:\/\/github.com\/rvm\/rvm\/archive\/1.28.0.tar.gz\r\nDownloading https:\/\/github.com\/rvm\/rvm\/releases\/download\/1.28.0\/1.28.0.tar.gz.asc\r\ngpg: Signature made Sel 20 Des 2016 01:50:13  WIB using RSA key ID BF04FF17\r\ngpg: Good signature from \"Michal Papis (RVM signing) &lt;mpapis@gmail.com&gt;\"\r\ngpg: Note: This key has expired!\r\nPrimary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3\r\n     Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17\r\nGPG verified '\/home\/teddy\/.rvm\/archives\/rvm-1.28.0.tgz'\r\n\r\nInstalling RVM to \/home\/teddy\/.rvm\/\r\nstat: cannot stat \u2018\/&lt;gconf&gt;\/ a&lt;entry name='login_shell' mtime='1483934280' type='bool' value='true'\/&gt;\u2019: No such file or directory\r\nstat: cannot stat \u2018\/&lt;gconf&gt;\/ a&lt;entry name='login_shell' mtime='1483934280' type='bool' value='true'\/&gt;\u2019: No such file or directory\r\n    Adding rvm PATH line to \/home\/teddy\/.profile \/home\/teddy\/.mkshrc \/home\/teddy\/.bashrc \/home\/teddy\/.zshrc.\r\n    Adding rvm loading line to \/home\/teddy\/.profile \/home\/teddy\/.bash_profile \/home\/teddy\/.zlogin.\r\nInstallation of RVM in \/home\/teddy\/.rvm\/ is almost complete:\r\n\r\n  * To start using RVM you need to run `source \/home\/teddy\/.rvm\/scripts\/rvm`\r\n    in all your open shell windows, in rare cases you need to reopen all shell windows.\r\n\r\n# advcha,\r\n#\r\n#   Thank you for using RVM!\r\n#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!\r\n#\r\n# ~Wayne, Michal &amp; team.\r\n\r\nIn case of problems: https:\/\/rvm.io\/help and https:\/\/twitter.com\/rvm_io<\/pre>\n<p>KEEP IN MIND THIS LINE<\/p>\n<pre class=\"lang:default decode:true\">To start using RVM you need to run `source \/home\/teddy\/.rvm\/scripts\/rvm<\/pre>\n<p>I need to execute &#8216;source \/home\/teddy\/.rvm\/scripts\/rvm&#8217; to build the RVM environment and to save the settings of this environment into current shell.<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ source \/home\/teddy\/.rvm\/scripts\/rvm<\/pre>\n<p>NOT (ref: <a href=\"http:\/\/stackoverflow.com\/questions\/16631326\/error-message-bash-etc-profile-d-rvm-sh-no-such-file-or-directory\" target=\"_blank\">Error message: -bash: \/etc\/profile.d\/rvm.sh: No such file or directory<\/a>)<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~$ source \/etc\/profile.d\/rvm.sh\r\nbash: \/etc\/profile.d\/rvm.sh: No such file or directory<\/pre>\n<p>&nbsp;<\/li>\n<li>Install the Ruby dependencies with the RVM command below:\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rvm requirements<\/pre>\n<p>For the first time, I got some errors like this:<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rvm requirements\r\nChecking requirements for ubuntu.\r\nInstalling requirements for ubuntu.\r\nUpdating systemteddy password required for 'apt-get --quiet --yes update': \r\nteddy password required for 'apt-get --quiet --yes update': \r\n..................................\r\nError running 'requirements_debian_update_system ',\r\nshowing last 15 lines of \/home\/teddy\/.rvm\/log\/1483934510\/update_system.log\r\n+ case \"${TERM:-dumb}\" in\r\n+ case \"$1\" in\r\n+ [[ -t 2 ]]\r\n+ return 1\r\n+ printf %b 'There has been error while updating '\\''apt-get'\\'', please give it some time and try again later.\r\n404 errors should be fixed for rvm to proceed. Check your sources configured in:\r\n    \/etc\/apt\/sources.list\r\n    \/etc\/apt\/sources.list.d\/*.list\r\n\\n'\r\nThere has been error while updating 'apt-get', please give it some time and try again later.\r\n404 errors should be fixed for rvm to proceed. Check your sources configured in:\r\n    \/etc\/apt\/sources.list\r\n    \/etc\/apt\/sources.list.d\/*.list\r\n\r\n+ return 100\r\nRequirements installation failed with status: 100.<\/pre>\n<p>SOLUTION: ref: <a href=\"http:\/\/stackoverflow.com\/questions\/36017580\/error-installing-ruby-on-ubuntu-14-04\" target=\"_blank\">Error installing Ruby on Ubuntu 14.04<\/a><br \/>\nI have to fix\/remove some failed ubuntu repository. From &#8216;sudo apt-get update&#8217;, I got these repositories error:<\/p>\n<pre class=\"lang:default decode:true \">W: GPG error: https:\/\/apt.dockerproject.org ubuntu-trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D\r\nW: GPG error: http:\/\/download.opensuse.org  Release: The following signatures were invalid: KEYEXPIRED 1460070962\r\nW: GPG error: http:\/\/ppa.launchpad.net trusty Release: The following signatures were invalid: BADSIG A9E15C2F2B944FEE Launchpad PPA for Alex Murray\r\nW: Failed to fetch http:\/\/ppa.launchpad.net\/ondrej\/php5-5.6\/ubuntu\/dists\/trusty\/main\/binary-amd64\/Packages  404  Not Found\r\n\r\nW: Failed to fetch http:\/\/ppa.launchpad.net\/ondrej\/php5-5.6\/ubuntu\/dists\/trusty\/main\/binary-i386\/Packages  404  Not Found\r\n\r\nE: Some index files failed to download. They have been ignored, or old ones used instead.<\/pre>\n<p>After fixing them (see the above link), it&#8217;s working fine<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rvm requirements\r\nChecking requirements for ubuntu.\r\nInstalling requirements for ubuntu.\r\nUpdating system...........................\r\nInstalling required packages: gawk, libreadline6-dev, libyaml-dev, sqlite3, libgmp-dev, libgdbm-dev, libncurses5-dev, bison............\r\nRequirements installation successful.<\/pre>\n<p>&nbsp;<\/li>\n<li>Check for available Ruby versions<br \/>\nThe following command lists the available ruby versions:<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rvm list known\r\n# MRI Rubies\r\n[ruby-]1.8.6[-p420]\r\n[ruby-]1.8.7[-head] # security released on head\r\n[ruby-]1.9.1[-p431]\r\n[ruby-]1.9.2[-p330]\r\n[ruby-]1.9.3[-p551]\r\n[ruby-]2.0.0[-p648]\r\n[ruby-]2.1[.10]\r\n[ruby-]2.2[.6]\r\n[ruby-]2.3[.3]\r\n[ruby-]2.4[.0-rc1]\r\nruby-head\r\n\r\n# for forks use: rvm install ruby-head-&lt;name&gt; --url https:\/\/github.com\/github\/ruby.git --branch 2.2\r\n\r\n# JRuby\r\njruby-1.6[.8]\r\njruby-1.7[.26]\r\njruby[-9.1.6.0]\r\njruby-head\r\n\r\n# Rubinius\r\nrbx-1[.4.3]\r\nrbx-2.3[.0]\r\nrbx-2.4[.1]\r\nrbx-2[.5.8]\r\nrbx[-3.69]\r\nrbx-head\r\n\r\n# Opal\r\nopal\r\n\r\n# Minimalistic ruby implementation - ISO 30170:2012\r\nmruby-1.0.0\r\nmruby-1.1.0\r\nmruby-1[.2.0]\r\nmruby[-head]\r\n\r\n# Ruby Enterprise Edition\r\nree-1.8.6\r\nree[-1.8.7][-2012.02]\r\n\r\n# Topaz\r\ntopaz\r\n\r\n# MagLev\r\nmaglev[-head]\r\nmaglev-1.0.0\r\n\r\n# Mac OS X Snow Leopard Or Newer\r\nmacruby-0.10\r\nmacruby-0.11\r\nmacruby[-0.12]\r\nmacruby-nightly\r\nmacruby-head\r\n\r\n# IronRuby\r\nironruby[-1.1.3]\r\nironruby-head<\/pre>\n<p>I&#8217;m going to install the latest stable ruby version 2.3.3 because ruby 2.4.0-rc1 still in release candidate.<\/li>\n<li>Install Ruby Version<br \/>\nUsing RVM makes the independent management of ruby versions an easy process. The command listed below installs the Ruby version 2.3.3.<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rvm install 2.3.3\r\nSearching for binary rubies, this might take some time.\r\nFound remote file https:\/\/rubies.travis-ci.org\/ubuntu\/14.04\/x86_64\/ruby-2.3.3.tar.bz2\r\nChecking requirements for ubuntu.\r\nRequirements installation successful.\r\nruby-2.3.3 - #configure\r\nruby-2.3.3 - #download\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0\r\n100 25.1M  100 25.1M    0     0   927k      0  0:00:27  0:00:27 --:--:-- 1196k\r\nNo checksum for downloaded archive, recording checksum in user configuration.\r\nruby-2.3.3 - #validate archive\r\nruby-2.3.3 - #extract\r\nruby-2.3.3 - #validate binary\r\nruby-2.3.3 - #setup\r\nruby-2.3.3 - #gemset created \/home\/teddy\/.rvm\/gems\/ruby-2.3.3@global\r\nruby-2.3.3 - #importing gemset \/home\/teddy\/.rvm\/gemsets\/global.gems...................................\r\nruby-2.3.3 - #generating global wrappers........\r\nruby-2.3.3 - #gemset created \/home\/teddy\/.rvm\/gems\/ruby-2.3.3\r\nruby-2.3.3 - #importing gemsetfile \/home\/teddy\/.rvm\/gemsets\/default.gems evaluated to empty gem list\r\nruby-2.3.3 - #generating default wrappers........<\/pre>\n<p>&nbsp;<\/li>\n<li>Default Ruby Version must be Set up<br \/>\nIn order for the applications to use Ruby, the default ruby version needs to be set. The following command sets Ruby 2.3.3 as default version.<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rvm use 2.3.3 --default\r\nUsing \/home\/teddy\/.rvm\/gems\/ruby-2.3.3<\/pre>\n<\/li>\n<li>Confirm ruby version installed\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ ruby -v\r\nruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]<\/pre>\n<p>We&#8217;ve just finished installing &#8216;Ruby&#8217;. Now we&#8217;re going to install &#8216;Rails&#8217;<\/li>\n<li>Installing Rails<br \/>\nRails can be easily installed with the Ruby gem installer.<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~$ gem install rails\r\nFetching: i18n-0.7.0.gem (100%)\r\nSuccessfully installed i18n-0.7.0\r\nFetching: thread_safe-0.3.5.gem (100%)\r\nSuccessfully installed thread_safe-0.3.5\r\nFetching: tzinfo-1.2.2.gem (100%)\r\nSuccessfully installed tzinfo-1.2.2\r\nFetching: concurrent-ruby-1.0.4.gem (100%)\r\nSuccessfully installed concurrent-ruby-1.0.4\r\nFetching: activesupport-5.0.1.gem (100%)\r\nSuccessfully installed activesupport-5.0.1\r\nFetching: rack-2.0.1.gem (100%)\r\nSuccessfully installed rack-2.0.1\r\nFetching: rack-test-0.6.3.gem (100%)\r\nSuccessfully installed rack-test-0.6.3\r\nFetching: mini_portile2-2.1.0.gem (100%)\r\nSuccessfully installed mini_portile2-2.1.0\r\nFetching: nokogiri-1.7.0.1.gem (100%)\r\nBuilding native extensions.  This could take a while...\r\nSuccessfully installed nokogiri-1.7.0.1\r\nFetching: loofah-2.0.3.gem (100%)\r\nSuccessfully installed loofah-2.0.3\r\nFetching: rails-html-sanitizer-1.0.3.gem (100%)\r\nSuccessfully installed rails-html-sanitizer-1.0.3\r\nFetching: rails-dom-testing-2.0.2.gem (100%)\r\nSuccessfully installed rails-dom-testing-2.0.2\r\nFetching: builder-3.2.2.gem (100%)\r\nSuccessfully installed builder-3.2.2\r\nFetching: erubis-2.7.0.gem (100%)\r\nSuccessfully installed erubis-2.7.0\r\nFetching: actionview-5.0.1.gem (100%)\r\nSuccessfully installed actionview-5.0.1\r\nFetching: actionpack-5.0.1.gem (100%)\r\nSuccessfully installed actionpack-5.0.1\r\nFetching: activemodel-5.0.1.gem (100%)\r\nSuccessfully installed activemodel-5.0.1\r\nFetching: arel-7.1.4.gem (100%)\r\nSuccessfully installed arel-7.1.4\r\nFetching: activerecord-5.0.1.gem (100%)\r\nSuccessfully installed activerecord-5.0.1\r\nFetching: globalid-0.3.7.gem (100%)\r\nSuccessfully installed globalid-0.3.7\r\nFetching: activejob-5.0.1.gem (100%)\r\nSuccessfully installed activejob-5.0.1\r\nFetching: mime-types-data-3.2016.0521.gem (100%)\r\nSuccessfully installed mime-types-data-3.2016.0521\r\nFetching: mime-types-3.1.gem (100%)\r\nSuccessfully installed mime-types-3.1\r\nFetching: mail-2.6.4.gem (100%)\r\nSuccessfully installed mail-2.6.4\r\nFetching: actionmailer-5.0.1.gem (100%)\r\nSuccessfully installed actionmailer-5.0.1\r\nFetching: nio4r-1.2.1.gem (100%)\r\nBuilding native extensions.  This could take a while...\r\nSuccessfully installed nio4r-1.2.1\r\nFetching: websocket-extensions-0.1.2.gem (100%)\r\nSuccessfully installed websocket-extensions-0.1.2\r\nFetching: websocket-driver-0.6.4.gem (100%)\r\nBuilding native extensions.  This could take a while...\r\nSuccessfully installed websocket-driver-0.6.4\r\nFetching: actioncable-5.0.1.gem (100%)\r\nSuccessfully installed actioncable-5.0.1\r\nFetching: thor-0.19.4.gem (100%)\r\nSuccessfully installed thor-0.19.4\r\nFetching: method_source-0.8.2.gem (100%)\r\nSuccessfully installed method_source-0.8.2\r\nFetching: railties-5.0.1.gem (100%)\r\nSuccessfully installed railties-5.0.1\r\nFetching: bundler-1.13.7.gem (100%)\r\nSuccessfully installed bundler-1.13.7\r\nFetching: sprockets-3.7.1.gem (100%)\r\nSuccessfully installed sprockets-3.7.1\r\nFetching: sprockets-rails-3.2.0.gem (100%)\r\nSuccessfully installed sprockets-rails-3.2.0\r\nFetching: rails-5.0.1.gem (100%)\r\nSuccessfully installed rails-5.0.1\r\nParsing documentation for i18n-0.7.0\r\nInstalling ri documentation for i18n-0.7.0\r\nParsing documentation for thread_safe-0.3.5\r\nInstalling ri documentation for thread_safe-0.3.5\r\nParsing documentation for tzinfo-1.2.2\r\nInstalling ri documentation for tzinfo-1.2.2\r\nParsing documentation for concurrent-ruby-1.0.4\r\nInstalling ri documentation for concurrent-ruby-1.0.4\r\nParsing documentation for activesupport-5.0.1\r\nInstalling ri documentation for activesupport-5.0.1\r\nParsing documentation for rack-2.0.1\r\nInstalling ri documentation for rack-2.0.1\r\nParsing documentation for rack-test-0.6.3\r\nInstalling ri documentation for rack-test-0.6.3\r\nParsing documentation for mini_portile2-2.1.0\r\nInstalling ri documentation for mini_portile2-2.1.0\r\nParsing documentation for nokogiri-1.7.0.1\r\nInstalling ri documentation for nokogiri-1.7.0.1\r\nParsing documentation for loofah-2.0.3\r\nInstalling ri documentation for loofah-2.0.3\r\nParsing documentation for rails-html-sanitizer-1.0.3\r\nInstalling ri documentation for rails-html-sanitizer-1.0.3\r\nParsing documentation for rails-dom-testing-2.0.2\r\nInstalling ri documentation for rails-dom-testing-2.0.2\r\nParsing documentation for builder-3.2.2\r\nInstalling ri documentation for builder-3.2.2\r\nParsing documentation for erubis-2.7.0\r\nInstalling ri documentation for erubis-2.7.0\r\nParsing documentation for actionview-5.0.1\r\nInstalling ri documentation for actionview-5.0.1\r\nParsing documentation for actionpack-5.0.1\r\nInstalling ri documentation for actionpack-5.0.1\r\nParsing documentation for activemodel-5.0.1\r\nInstalling ri documentation for activemodel-5.0.1\r\nParsing documentation for arel-7.1.4\r\nInstalling ri documentation for arel-7.1.4\r\nParsing documentation for activerecord-5.0.1\r\nInstalling ri documentation for activerecord-5.0.1\r\nParsing documentation for globalid-0.3.7\r\nInstalling ri documentation for globalid-0.3.7\r\nParsing documentation for activejob-5.0.1\r\nInstalling ri documentation for activejob-5.0.1\r\nParsing documentation for mime-types-data-3.2016.0521\r\nInstalling ri documentation for mime-types-data-3.2016.0521\r\nParsing documentation for mime-types-3.1\r\nInstalling ri documentation for mime-types-3.1\r\nParsing documentation for mail-2.6.4\r\nInstalling ri documentation for mail-2.6.4\r\nParsing documentation for actionmailer-5.0.1\r\nInstalling ri documentation for actionmailer-5.0.1\r\nParsing documentation for nio4r-1.2.1\r\nInstalling ri documentation for nio4r-1.2.1\r\nParsing documentation for websocket-extensions-0.1.2\r\nInstalling ri documentation for websocket-extensions-0.1.2\r\nParsing documentation for websocket-driver-0.6.4\r\nInstalling ri documentation for websocket-driver-0.6.4\r\nParsing documentation for actioncable-5.0.1\r\nInstalling ri documentation for actioncable-5.0.1\r\nParsing documentation for thor-0.19.4\r\nInstalling ri documentation for thor-0.19.4\r\nParsing documentation for method_source-0.8.2\r\nInstalling ri documentation for method_source-0.8.2\r\nParsing documentation for railties-5.0.1\r\nInstalling ri documentation for railties-5.0.1\r\nParsing documentation for bundler-1.13.7\r\nInstalling ri documentation for bundler-1.13.7\r\nParsing documentation for sprockets-3.7.1\r\nInstalling ri documentation for sprockets-3.7.1\r\nParsing documentation for sprockets-rails-3.2.0\r\nInstalling ri documentation for sprockets-rails-3.2.0\r\nParsing documentation for rails-5.0.1\r\nInstalling ri documentation for rails-5.0.1\r\nDone installing documentation for i18n, thread_safe, tzinfo, concurrent-ruby, activesupport, rack, rack-test, mini_portile2, nokogiri, loofah, rails-html-sanitizer, rails-dom-testing, builder, erubis, actionview, actionpack, activemodel, arel, activerecord, globalid, activejob, mime-types-data, mime-types, mail, actionmailer, nio4r, websocket-extensions, websocket-driver, actioncable, thor, method_source, railties, bundler, sprockets, sprockets-rails, rails after 107 seconds\r\n36 gems installed<\/pre>\n<\/li>\n<li>Check the rails version<br \/>\nExecute the following command to check the rails version and to see if rails has been installed successfully.<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ rails -v\r\nRails 5.0.1<\/pre>\n<p>I just installed the latest rails (version 5.0.1). To install certain version (like version 4.2.5), install rails like this:<\/p>\n<pre class=\"lang:default decode:true \">gem install rails --version=4.2.5<\/pre>\n<p>&nbsp;<\/li>\n<li>Create a test app &#8216;testapp&#8217; in Document\/rubyonrails\/ directory\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ cd Documents\/rubyonrails\/<\/pre>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/rubyonrails$ rails new testapp\r\n      create  \r\n      create  README.md\r\n      create  Rakefile\r\n      create  config.ru\r\n      create  .gitignore\r\n      create  Gemfile\r\n      create  app\r\n      create  app\/assets\/config\/manifest.js\r\n      create  app\/assets\/javascripts\/application.js\r\n      create  app\/assets\/javascripts\/cable.js\r\n      create  app\/assets\/stylesheets\/application.css\r\n      create  app\/channels\/application_cable\/channel.rb\r\n      create  app\/channels\/application_cable\/connection.rb\r\n      create  app\/controllers\/application_controller.rb\r\n      create  app\/helpers\/application_helper.rb\r\n      create  app\/jobs\/application_job.rb\r\n      create  app\/mailers\/application_mailer.rb\r\n      create  app\/models\/application_record.rb\r\n      create  app\/views\/layouts\/application.html.erb\r\n      create  app\/views\/layouts\/mailer.html.erb\r\n      create  app\/views\/layouts\/mailer.text.erb\r\n      create  app\/assets\/images\/.keep\r\n      create  app\/assets\/javascripts\/channels\r\n      create  app\/assets\/javascripts\/channels\/.keep\r\n      create  app\/controllers\/concerns\/.keep\r\n      create  app\/models\/concerns\/.keep\r\n      create  bin\r\n      create  bin\/bundle\r\n      create  bin\/rails\r\n      create  bin\/rake\r\n      create  bin\/setup\r\n      create  bin\/update\r\n      create  config\r\n      create  config\/routes.rb\r\n      create  config\/application.rb\r\n      create  config\/environment.rb\r\n      create  config\/secrets.yml\r\n      create  config\/cable.yml\r\n      create  config\/puma.rb\r\n      create  config\/spring.rb\r\n      create  config\/environments\r\n      create  config\/environments\/development.rb\r\n      create  config\/environments\/production.rb\r\n      create  config\/environments\/test.rb\r\n      create  config\/initializers\r\n      create  config\/initializers\/application_controller_renderer.rb\r\n      create  config\/initializers\/assets.rb\r\n      create  config\/initializers\/backtrace_silencers.rb\r\n      create  config\/initializers\/cookies_serializer.rb\r\n      create  config\/initializers\/cors.rb\r\n      create  config\/initializers\/filter_parameter_logging.rb\r\n      create  config\/initializers\/inflections.rb\r\n      create  config\/initializers\/mime_types.rb\r\n      create  config\/initializers\/new_framework_defaults.rb\r\n      create  config\/initializers\/session_store.rb\r\n      create  config\/initializers\/wrap_parameters.rb\r\n      create  config\/locales\r\n      create  config\/locales\/en.yml\r\n      create  config\/boot.rb\r\n      create  config\/database.yml\r\n      create  db\r\n      create  db\/seeds.rb\r\n      create  lib\r\n      create  lib\/tasks\r\n      create  lib\/tasks\/.keep\r\n      create  lib\/assets\r\n      create  lib\/assets\/.keep\r\n      create  log\r\n      create  log\/.keep\r\n      create  public\r\n      create  public\/404.html\r\n      create  public\/422.html\r\n      create  public\/500.html\r\n      create  public\/apple-touch-icon-precomposed.png\r\n      create  public\/apple-touch-icon.png\r\n      create  public\/favicon.ico\r\n      create  public\/robots.txt\r\n      create  test\/fixtures\r\n      create  test\/fixtures\/.keep\r\n      create  test\/fixtures\/files\r\n      create  test\/fixtures\/files\/.keep\r\n      create  test\/controllers\r\n      create  test\/controllers\/.keep\r\n      create  test\/mailers\r\n      create  test\/mailers\/.keep\r\n      create  test\/models\r\n      create  test\/models\/.keep\r\n      create  test\/helpers\r\n      create  test\/helpers\/.keep\r\n      create  test\/integration\r\n      create  test\/integration\/.keep\r\n      create  test\/test_helper.rb\r\n      create  tmp\r\n      create  tmp\/.keep\r\n      create  tmp\/cache\r\n      create  tmp\/cache\/assets\r\n      create  vendor\/assets\/javascripts\r\n      create  vendor\/assets\/javascripts\/.keep\r\n      create  vendor\/assets\/stylesheets\r\n      create  vendor\/assets\/stylesheets\/.keep\r\n      remove  config\/initializers\/cors.rb\r\n         run  bundle install\r\nFetching gem metadata from https:\/\/rubygems.org\/..........\r\nFetching version metadata from https:\/\/rubygems.org\/..\r\nFetching dependency metadata from https:\/\/rubygems.org\/.\r\nResolving dependencies...\r\nInstalling rake 12.0.0\r\nUsing concurrent-ruby 1.0.4\r\nUsing i18n 0.7.0\r\nInstalling minitest 5.10.1\r\nUsing thread_safe 0.3.5\r\nUsing builder 3.2.2\r\nUsing erubis 2.7.0\r\nUsing mini_portile2 2.1.0\r\nUsing rack 2.0.1\r\nUsing nio4r 1.2.1\r\nUsing websocket-extensions 0.1.2\r\nUsing mime-types-data 3.2016.0521\r\nUsing arel 7.1.4\r\nUsing bundler 1.13.7\r\nInstalling byebug 9.0.6 with native extensions\r\nInstalling coffee-script-source 1.12.2\r\nInstalling execjs 2.7.0\r\nUsing method_source 0.8.2\r\nUsing thor 0.19.4\r\nInstalling debug_inspector 0.0.2 with native extensions\r\nInstalling ffi 1.9.14 with native extensions\r\nInstalling multi_json 1.12.1\r\nInstalling rb-fsevent 0.9.8\r\nInstalling puma 3.6.2 with native extensions\r\nInstalling sass 3.4.23\r\nInstalling tilt 2.0.5\r\nInstalling sqlite3 1.3.13 with native extensions\r\nInstalling turbolinks-source 5.0.0\r\nUsing tzinfo 1.2.2\r\nUsing nokogiri 1.7.0.1\r\nUsing rack-test 0.6.3\r\nUsing sprockets 3.7.1\r\nUsing websocket-driver 0.6.4\r\nUsing mime-types 3.1\r\nInstalling coffee-script 2.4.1\r\nInstalling uglifier 3.0.4\r\nInstalling rb-inotify 0.9.7\r\nInstalling turbolinks 5.0.1\r\nUsing activesupport 5.0.1\r\nUsing loofah 2.0.3\r\nUsing mail 2.6.4\r\nInstalling listen 3.0.8\r\nUsing rails-dom-testing 2.0.2\r\nUsing globalid 0.3.7\r\nUsing activemodel 5.0.1\r\nInstalling jbuilder 2.6.1\r\nInstalling spring 2.0.0\r\nUsing rails-html-sanitizer 1.0.3\r\nUsing activejob 5.0.1\r\nUsing activerecord 5.0.1\r\nInstalling spring-watcher-listen 2.0.1\r\nUsing actionview 5.0.1\r\nUsing actionpack 5.0.1\r\nUsing actioncable 5.0.1\r\nUsing actionmailer 5.0.1\r\nUsing railties 5.0.1\r\nUsing sprockets-rails 3.2.0\r\nInstalling coffee-rails 4.2.1\r\nInstalling jquery-rails 4.2.2\r\nInstalling web-console 3.4.0\r\nUsing rails 5.0.1\r\nInstalling sass-rails 5.0.6\r\nBundle complete! 15 Gemfile dependencies, 62 gems now installed.\r\nUse `bundle show [gemname]` to see where a bundled gem is installed.\r\n         run  bundle exec spring binstub --all\r\n* bin\/rake: spring inserted\r\n* bin\/rails: spring inserted<\/pre>\n<p>&nbsp;<\/li>\n<li>Go into the &#8216;testapp&#8217; then start the rails server\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/rubyonrails$ cd testapp\/\r\nteddy@teddy-K43SJ:~\/Documents\/rubyonrails\/testapp$ rails s\r\n=&gt; Booting Puma\r\n=&gt; Rails 5.0.1 application starting in development on http:\/\/localhost:3000\r\n=&gt; Run `rails server -h` for more startup options\r\nPuma starting in single mode...\r\n* Version 3.6.2 (ruby 2.3.3-p222), codename: Sleepy Sunday Serenity\r\n* Min threads: 5, max threads: 5\r\n* Environment: development\r\n* Listening on tcp:\/\/localhost:3000\r\nUse Ctrl-C to stop<\/pre>\n<p>&nbsp;<\/li>\n<li>Open it on your browser http:\/\/localhost:3000\/. If nothing wrong, here is the looks<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/01\/front-page-testapp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1360\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/01\/front-page-testapp.png\" alt=\"front-page-testapp\" width=\"700\" height=\"634\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/01\/front-page-testapp.png 700w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2017\/01\/front-page-testapp-300x272.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Source: Installing Ruby on Rails on Ubuntu 14.04 &#8211; 15.10 and Install Ruby on Rails \u00b7 Ubuntu Linux. Installation: Install Ruby Version Manager (RVM). I already had &#8216;curl&#8217;, so import the rvm.io public key in the server system. teddy@teddy-K43SJ:~$ curl -#LO https:\/\/rvm.io\/mpapis.asc ######################################################################## 100,0% teddy@teddy-K43SJ:~$ gpg &#8211;import mpapis.asc gpg: key D39DC0E3: public key &#8220;Michal Papis &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/01\/09\/ruby-on-rails-installation-on-ubuntu-14-04\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ruby On Rails Installation on Ubuntu 14.04&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,13],"tags":[],"class_list":["post-1353","post","type-post","status-publish","format-standard","hentry","category-ruby-on-rails","category-tutorial"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=1353"}],"version-history":[{"count":7,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1353\/revisions"}],"predecessor-version":[{"id":1361,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1353\/revisions\/1361"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=1353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=1353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=1353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}