Author Archives: Chris

First attempt to run bundle install and got “Could not find bundler” error

Background OS: Debian 8 Ruby version: ruby 2.1.5p273 (2014-11-13) [i386-linux-gnu] Rails version: Rails 4.2.5 Ruby and Rails are installed and created first hello world app Trying to run “bundle install” > bundle install /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs’: Could not find ‘bundler’ (>= 0) among 66 total gem(s) (Gem::LoadError) from /usr/lib/ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec’ from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem’ from /usr/local/bin/bundle:22:in `’… Read More »

Create Rails Hello World and got “sqlite3.h is missing” error

Background OS: Debian 8 Ruby version: ruby 2.1.5p273 (2014-11-13) [i386-linux-gnu] Rails version: Rails 4.2.5 Ruby and Rails are installed and trying to create the first application. > rails new hello_app … Installing sqlite3 1.3.11 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension.     /usr/bin/ruby2.1 extconf.rb checking for sqlite3.h… no sqlite3.h is missing.… Read More »

Add new user and add to sudoers file

Add new user To add a new user > adduser username Add new user to sudoers list > sudo mv firefox /opt/ > [sudo] password for username: > username is not in the sudoers file. This incident will be reported To allow user to carry out admin task, you will need to add user to… Read More »

Install VNC

This is the last step in setting a remote development environment using Aptana Studio. Install TightVNCServer > sudo apt-get install tightvncserver Start the server in the required resolution and colour depth > vncserver -geometry 1280×1024 -depth 24 When the VNC server is no longer required, kill the server > ps -ef | grep vnc usernam+ … Read More »

Install Aptana Studio 3.0

Overview This is part of the efforts to set up a remote development IDE on Debian and Aptana Studio is selected as the development tool. Pre-requisite Installation Oracle Java 1.5x or later See Install Oracle JDK 1.8 Git Install git is simple > sudo apt-get install git-core Aptana Studio Installation Create a temporary working directory… Read More »