I am currently learning Ruby on Rails. The hardest part so far has been installing Rails on Ubuntu 11.04. Ruby on Rails is pre-installed on OSX, and can be easily installed on Windows (there is an installation program). But on Ubuntu, the install experience is dismal, to put it mildly.
I am truly puzzled at the Ruby on Rails Ubuntu installation experience. Indeed, I'm struggling for the proper words to describe the process. Abysmal? Inextricably wedged? A Kafkaesque nightmare?
It's clear that at least some ROR development is done on Ubuntu. But why isn't there a decent package that could be easily installed? Or even reliable manual installation instructions?
The following instructions work, as of this instant in history (September 18, 2011), when done on a virgin Ubuntu 11.04 install, running on VirtualBox.
# Based on: http://stuffingabout.blogspot.com/2011/04/installing-rails-3-on-ubuntu-1104.html and # https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager # Paste the following into a bash command shell, one section at a time. sudo apt-get install curl git-core build-essential bison openssl libreadline5 libreadline5-dev zlib1g zlib1g-dev libssl-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev autoconf curl -L http://rvm.beginrescueend.com/releases/rvm-install-head > rvm-install-head bash rvm-install-head rm rvm-install-head source ~/.bashrc rvm install 1.9.2 rvm use 1.9.2 --default rvm 1.9.2 --passenger rvm 1.9.2 gem install passenger sudo apt-get install libcurl4-openssl-dev # Choose option 1 and go with defaults. rvmsudo passenger-install-nginx-module gem install rails sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs mkdir rails_projects cd rails_projects rails new hello_world cd hello_world rails server # Test the new web app by browsing to http://localhost:3000
|Java Programming Tip: SWT Photo Frame Program||October 31, 2016|
|Vault 3 (Desktop) Version 1.63 Released||September 9, 2016|
|"Compliance with Court Orders Act of 2016"||April 9, 2016|
|Disable "Visual Voicemail" on Android / T-Mobile||January 17, 2016|
|IPv6 Humor||December 10, 2015|
|Java Programming Tip: Specify the JVM time zone||December 7, 2015|
|Node.js / Express Programming Tip: Detect and Fix Memory Leaks||October 27, 2015|