The Geek has moved…. to a new server.

2017-04-13_16-43-15

The Geek has moved to a new server.  The old one was working just fine but Phoenix Workgroup LLC, the company who provides me with space, needed a larger, faster server for some new projects they are working on.  There hasn’t been any posts or videos for the past few days while we waited for the dust to settle and do the first thing after a new move “Locate the iron” in our case the SSL certificate.

We are experimenting with some new video production techniques to help make the process easier and improve the quality.  Thank you to Phoenix Workgroup LLC and everyone who follows me on this blog and my YouTube channel .

How to Install RubyMine IDE for Ruby on Rails on Ubuntu

RubyMine is by far the most intelligent Ruby and Rails IDE on the market. Some of the features:

  • Runs on Windows, Mac OS X or Linux
  • Intelligent Ruby Editor with completion, code snippets and automatic refactorings On-the-fly code analysis throughout the project tree with type inference and quick-fixes
  • Rails Models Diagram, Rails Project View and other specialized project/file views for faster overview & navigation
  • RSpec, Cucumber, Shoulda, MiniTest & Test::Unit coding assistance and GUI-based test runner
  • iOS development with RubyMotion
  • Web Development with all Ruby on Rails framework versions from 2.x to 4.x
  • Cutting-edge Ruby development stack support: Bundler, RVM, rbenv, pik, etc.
  • HTML, CSS and JavaScript editing with auto completion and refactorings. Plus CoffeeScript, HAML, SASS, and LESS
  • Zen coding snippets for productive HTML/CSS authoring
  • JavaScript/CoffeeScript debugger based on Mozilla Firefox and Google Chrome
  • Ruby Debugger: Ruby/Rails applications and tests debugging in a easy-to-use interface even in Windows
  • Git, Subversion, Mercurial, Perforce and CVS integration with a unified UI
  • Diff, merge, history views and changelists for every supported VCS
  • Bundled Textmate, NetBeans, Eclipse & Emacs keyboard schemes, plus Vi/Vim emulation plugin

Downsides:

  • It’s not always free. Being free for OSS projects and classrooms, they charge between $199 and $29 for a new license. Renewals are much cheaper, though.
  • You’re obviously a Rubist, you might find the fact it is written in Java as downside (I hope you won’t).
  • Some bugs here and there (nothing critical and they are getting fixed fast once reported).

Installation

  • Go to the RubyMine web site  https://jetbrains.com/ruby/download , current version is 7.1 (04/29/15).
  • Download the GZ zipped file.
  • Unzip it using whatever tool is your favorite unzipper.
  • Locate the BIN directory and run the script in a Terminal window named:

This will do a complete install. default configuration settings and create a RubyMine shortcut on your Ubuntu desktop.

Special Thanks to

http://softwarerecs.stackexchange.com/questions/721/ruby-on-rails-ide-for-ubuntu

How to install LibreOffice 4.4 in Ubuntu; LinuxMint; ElementaryOS

libreoffice_logoLibreOffice is a free and open source office suite which was forked from OpenOffice in 2010. LibreOffice 4.4 was released last week by The Document Foundation and you can read about it in this post LibreOffice 4.4 Released With Improved UI.

 

LibreOffice 4.4 is the 9th major release of the free office suite with improved UI, improved Interoperability with OOXML file formats, improved source code and a significant list of other improvements.

UI Improvements in LibreOffice 4.4

  • Redesigned Menu bars, Tool bars & Status bars
  • Redesigned Context Menus
  • Redesigned Ruler
  • New Color Selector
  • Improved Sidebar that Integrate Smoothly with Menus
  • Improved Status Bar

LibreOffice 4.4 also features an improved right-click menu that features ‘Cut, Copy & Paste’ at the top. The right-click menu now also features a new ‘Paste Special‘ option that allows the user to paste copied text as Unformatted text and also has more advanced options.

Download & Install

LibreOffice 4.4 (not even 4.3) is not yet available in the Official Ubuntu repositories. The latest version of LibreOffice available in the Official Ubuntu repository is 4.2.

So if you want LibreOffice 4.4, you can install it via a PPA. A PPA is just a third-party repository maintained by an individual or a team. In this case, the LibreOffice PPA is maintained by the LibreOffice team.

Here are the steps to download & install LibreOffice 4.4 in Ubuntu / LinuxMint / ElementaryOS.

Ubuntu / Linux Mint / Elementary OS

First we have to add the LibreOffice 4.4 PPA by running the following command,

After adding the PPA, we have to update the system running the following command,

Before installing LibreOffice 4.4, lets upgrade the system so that all the latest packages are downloaded & installed.

Now we can install LibreOffice 4.4 by running the following command,

Special Thanks to

http://www.dailylinuxnews.com/blog/2015/02/install-libreoffice-44-in-ubuntu-linuxmint-elementaryos/

How to install Cinnamon as replacement for Unity on Ubuntu

If there’s one area of Linux that gets more scrutiny than any other, it’s the desktop. From every corner, the haters and detractors abound. Nearly every publication that offers any focus on the Linux desktop at some point posts a piece about getting rid of the default Ubuntu desktop. Cinnamon is one of the primary replacement contenders.

Cinnamon is the default desktop for Linux Mint and, quite frankly, it’s one of the main reasons why Mint has gained so much popularity. Why? Because it has the user-friendliness of Ubuntu and a desktop that dares to harken back to nineties-era Linux — with a few modern touches.

With that said, let’s install Cinnamon on your Ubuntu 14.04 desktop and find out if it’s a worthy replacement for the metaphor defying Ubuntu Unity.

Installation

Note: This installation shouldn’t break Unity. I have successfully installed Cinnamon and retained full use of Unity.

To install Cinnamon, open up a terminal window and enter the following commands:

When the installation completes, log out of Unity, select Cinnamon from the desktop selector (to the right of the username in the login window), enter your password, and hit Enter. When the desktop finally appears, congrats — you’ll be using Cinnamon.

 The question

Is Cinnamon a worthy replacement for Unity?

In my opinion as a Windows, MAC and Linux user…. YES!

Special Thanks to

http://www.techrepublic.com/article/is-cinnamon-a-worthy-replacement-for-ubuntu-unity/

How To Install Ruby on Rails on Ubuntu 14.04 using RVM

Ruby on Rails is one of the most popular application stacks for developers wishing to create sites and web apps. The Ruby programming language, coupled with the Rails development framework, makes app development simple.

Since Ruby on Rails doesn’t come in a neatly packaged format, getting the framework installed used to be one of the more difficult parts of getting started. Luckily, tools like rvm, the Ruby Version Manager, have made installation simple.

In this guide, we’ll show how to install rvm on an Ubuntu 14.04 VPS, and use it to install a stable version of Ruby and Rails. Although you can go through these procedures as the root user, we’ll assume you’re operating using an unprivileged user as shown in steps 1-4 in this guide.

Special thanks to the link at

https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-14-04-using-rvm

The Quick Way

The quickest way of installing Ruby on Rails with rvm is to run the following command as a regular user:

You will be prompted for your regular user’s password as part of the installation procedure.

or if you want to install it as a Root user:

In some cases you may not even have Curl installed, in which case you need to run:

Let’s go over exactly what’s happening here.

The \curl portion uses the curl web grabbing utility to grab a script file from the rvm website. The backslash that leads the command ensures that we are using the regular curl command and not any altered, aliased version.

The -s flag indicates that the utility should operate in silent mode, the -S flag overrides some of this to allow curl to output errors if it fails. The -L flag tells the utility to follow redirects.

The script is then piped directly to bash for processing. The -s flag indicates that the input is coming from standard in. We then specify that we want the latest stable version of rvm, and that we also want to install the latest stable Rails version, which will pull in the associated Ruby.

Following a long installation procedure, all you need to do is source the rvm scripts by typing:

You should now have a full Ruby on Rails environment configured.

Installing Specific Ruby and Rails Versions

If you need to install specific versions of Ruby for your application, you can do so with rvm like this:

After the installation, we can list the available Ruby versions we have installed by typing:

We can switch between the Ruby versions by typing:

We can use various Rails versions with each Ruby by creating gemsets and then installing Rails within those using the normal gem commands:

The gemsets allow us to have self-contained environments for gems and allow us to have multiple environments for each version of Ruby that we install.