I am between computers at the moment, and I really really miss my OSX development environment. Dependency installation is so smooth and painless on mac, that I had quite forgotten the complications of setting up a complete environment in linux. For instance
I am running an Ubuntu 9.4 remix on my little Atom Netbook. Getting rails up and running anew is a lesson in returning to fundamentals.
From the RailsGuides:
Setup Node.js on Linux
$ sudo apt-get nodejs
I found the key sequence of commands on the Node.js website. First, update your packages and install node.js dependencies: python, g++, make, etc
$ sudo apt-get update $ sudo apt-get install python-software-properties python g++ make
Next, add the location of the nodejs repository, update, and install.
$ sudo add-apt-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs
Wow — with all of that done, I can finally:
$ rails generate rspec:install create .rspec create spec create spec/spec_helper.rb