Installing ruby & rails $sudo apt-get install curl $curl -L get.rvm.io | bash -s stable --auto $rvm requirements #ubuntu1304 changed just only## $sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libgdbm-dev libncurses5-dev automake libtool bison subversion pkg-config libffi-dev
install all miss
$\curl -L https://get.rvm.io | bash -s stable --ruby
install rails 3.0.* $\curl -L https://get.rvm.io | bash -s stable --rails
install rails 4.0.* $gem install rails --version 4.0.0.beta1 --no-ri --no-rdoc —————————————————————————————— http://cdimage.ubuntu.com Ubuntu 13.04 (Raring Ringtail) Daily Build —————————————————————————————— Oracle Java (JDK) 8 Installer PPA
deb http://ppa.launchpad.net/webupd8team/java/ubuntu raring main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu raring main $sudo apt-get update $sudo apt-get install oracle-java8-installer
Installing MongoDB
$sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen $sudo apt-get update $sudo apt-get install mongodb-10gen
Install~ node.js
$sudo apt-get install python-software-properties python g++ make $sudo add-apt-repository ppa:chris-lea/node.js $sudo apt-get update $sudo apt-get install nodejs npm
Install nginx waiting ppa ~~~~~~~~~
close guest
sudo gedit /etc/lightdm/lightdm.conf allow-guest=false
[Desktop Entry] Version=1.0 Type=Application Name=AptanaStudio3 Exec="/home/jing/Appz/Aptana_Studio_3/AptanaStudio3" %f Icon= /home/jing/Appz/Aptana_Studio_3/aptana.ico Comment=Develop with pleasure! Categories=Development;IDE; Terminal=false StartupNotify=true
mongoid setting
/ config / application.rb changed require "action_controller/railtie" require "action_mailer/railtie"
/ config / environments / development.rb # Raise an error on page load if there are pending migrations #config.active_record.migration_error = :page_load