Tuesday 28 February 2012

My exact RoR environment (Code Only)

sudo apt-get install xinit
sudo apt-get install fluxbox
sudo apt-get install ruby1.9.1-dev
" permission denied - /var/lib/gems " if not using 'sudo' for gem install
sudo gem install sqlite3
if "Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
        ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb " then sudo apt-get install sqlite3 libsqlite3-dev
sudo gem install rspec
if "make
sh: make: not found " then sudo apt-get build-essential
sudo gem install rails
sudo gem install rspec-rails
sudo gem install cucumber-rails
if "libxml2 is missing." then sudo apt-get install libxml2-dev
if "libxslt is missing." then sudo apt-get install libxslt-dev
if "could not find gem 'jquery-rails (>=0) ruby' in any of the gem sources listed in your Gemfile."
"/var/lib/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:int 'autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)" then
sudo add-apt-repository ppa:chris-lea/node.js
if "the program 'add-apt-repository' is currently not installed."
sudo apt-get install python-software-properties
sudo apt-get install nodejs
startx
Add editor of choice and done.

No comments:

Post a Comment