Skip to main content

Ruby 2.0 walkthrough

Ruby 2.0.0 released on 24 feb 2013, marks the 20th anniversay of Ruby.

rvm get stable
This updates your rvm to the latest stable release.
$ rvm install ruby
It update system libraries and install ruby, so when i try

$ rvm list

rvm rubies

=* ruby-1.9.3-p286 [ x86_64 ]
ruby-2.0.0-p195 [ x86_64 ]

# => - current
# =* - current && default
# * - default

Now, install rails using
gem install rails --version 4.0.0.beta1 --no-ri --no-rdoc


Popular posts from this blog

Cannot allocate memory error while computing files - Setup Swap space

ActionView::Template::Error (Cannot allocate memory - nodejs /tmp/execjs20131021-26716-fckzo3.js 2>&1
Nodejs is used to compile javascript at runtime. In RoR applications, this error comes when server is started in production mode which compiles the assets or while running rake assets:precompile.
check for swap space and allocate

Fresh server start after instance degraded

So the issue was, amazon issued an warning regarding the server to be terminated, before i could think of making an backup the instance stopped.

The troubleshoot operations like reboot, stop and start didn't worked.
Simple Steps to start a fresh instance with the previous content on server.