Sunday, January 4, 2015

Installing Bitnami Ruby Stack on Mint 17

I have installed Bitnami Ruby Stack on my Mint 17. Bitnami Ruby Stack is a complete ruby development environment that includes Ruby, Rails, SQLite, MySQL, PostgreSql, Apache, Nginx (for Linux), Git, Subversion, RVM, PHP, Node.js, etc. This is one of the easiest single click installation methods for ruby development environment.

1. Sources

Bitnami Ruby Stack Isntaller download site: https://bitnami.com/stack/ruby/installer

2. Download

I downloaded "Ruby Stack 2.1.5-1 Dev (64-bit)" from https://bitnami.com/stack/ruby/installer

3. Installation

a. First make the downloaded file (bitnami-rubystack-2.1.5-1-dev-linux-x64-installer.run) executable.

(1) Right click on the downloaded file and open its Properties window.
(2) Goto Permission tab and turn on Executable check box.

b. Now execute the file to install.

(1) Double click to execute the installation file. (You have to wait for several seconds before seeing welcome screen.)
(2) I selected all features that include:

(3) I made a change to the destination: home/socrateos/rubystack/rubystack-2.1.5-1 (instead of suggested home/socrateos/rubystack-2.1.5-1) so that I may be able to install future version(s) in the same common directory "rubystack".

(4) Server manager shows initial servers that are running.

3. Create Short cuts

I have created desktop short cuts for the following files:

a. manager-linux-x64.run - to launch server manager (stop & start web and db servers)

b. rubyconsole - to launch terminal with all ruby path set up temporarily. Bitnami ruby does not interfere with normally installed ruby.

(1) Test ruby console. Double click to open the Ruby console
(2) Run a ruby command:

$ ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]

No comments:

Post a Comment