Created
July 17, 2012 15:38
-
-
Save lukearmstrong/3130159 to your computer and use it in GitHub Desktop.
ruby and rails on ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lukea@prop115:~$ sudo apt-get install ruby1.9.3 | |
[sudo] password for lukea: | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
libruby1.9.1 libruby1.9.1-dbg libtcltk-ruby1.9.1 libyaml-0-2 ri1.9.1 ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full tk8.5 | |
Suggested packages: | |
graphviz | |
The following NEW packages will be installed | |
libruby1.9.1 libruby1.9.1-dbg libtcltk-ruby1.9.1 libyaml-0-2 ri1.9.1 ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 tk8.5 | |
0 upgraded, 11 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 13.7 MB of archives. | |
After this operation, 44.0 MB of additional disk space will be used. | |
Do you want to continue [Y/n]? y | |
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/main libyaml-0-2 amd64 0.1.4-2 [56.9 kB] | |
Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libruby1.9.1 amd64 1.9.3.0-1ubuntu2 [4,098 kB] | |
Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise/main tk8.5 amd64 8.5.11-1 [1,003 kB] | |
Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe libtcltk-ruby1.9.1 amd64 1.9.3.0-1ubuntu2 [1,798 kB] | |
Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.9.1 amd64 1.9.3.0-1ubuntu2 [37.0 kB] | |
Get:6 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe ri1.9.1 all 1.9.3.0-1ubuntu2 [2,003 kB] | |
Get:7 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.9.1-dev amd64 1.9.3.0-1ubuntu2 [1,211 kB] | |
Get:8 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.9.1-examples all 1.9.3.0-1ubuntu2 [75.0 kB] | |
Get:9 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libruby1.9.1-dbg amd64 1.9.3.0-1ubuntu2 [3,398 kB] | |
Get:10 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe ruby1.9.1-full all 1.9.3.0-1ubuntu2 [2,950 B] | |
Get:11 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe ruby1.9.3 all 1.9.3.0-1ubuntu2 [13.6 kB] | |
Fetched 13.7 MB in 11s (1,188 kB/s) | |
Selecting previously unselected package libyaml-0-2. | |
(Reading database ... 146372 files and directories currently installed.) | |
Unpacking libyaml-0-2 (from .../libyaml-0-2_0.1.4-2_amd64.deb) ... | |
Selecting previously unselected package libruby1.9.1. | |
Unpacking libruby1.9.1 (from .../libruby1.9.1_1.9.3.0-1ubuntu2_amd64.deb) ... | |
Selecting previously unselected package tk8.5. | |
Unpacking tk8.5 (from .../tk8.5_8.5.11-1_amd64.deb) ... | |
Selecting previously unselected package libtcltk-ruby1.9.1. | |
Unpacking libtcltk-ruby1.9.1 (from .../libtcltk-ruby1.9.1_1.9.3.0-1ubuntu2_amd64.deb) ... | |
Selecting previously unselected package ruby1.9.1. | |
Unpacking ruby1.9.1 (from .../ruby1.9.1_1.9.3.0-1ubuntu2_amd64.deb) ... | |
Selecting previously unselected package ri1.9.1. | |
Unpacking ri1.9.1 (from .../ri1.9.1_1.9.3.0-1ubuntu2_all.deb) ... | |
Selecting previously unselected package ruby1.9.1-dev. | |
Unpacking ruby1.9.1-dev (from .../ruby1.9.1-dev_1.9.3.0-1ubuntu2_amd64.deb) ... | |
Selecting previously unselected package ruby1.9.1-examples. | |
Unpacking ruby1.9.1-examples (from .../ruby1.9.1-examples_1.9.3.0-1ubuntu2_all.deb) ... | |
Selecting previously unselected package libruby1.9.1-dbg. | |
Unpacking libruby1.9.1-dbg (from .../libruby1.9.1-dbg_1.9.3.0-1ubuntu2_amd64.deb) ... | |
Selecting previously unselected package ruby1.9.1-full. | |
Unpacking ruby1.9.1-full (from .../ruby1.9.1-full_1.9.3.0-1ubuntu2_all.deb) ... | |
Selecting previously unselected package ruby1.9.3. | |
Unpacking ruby1.9.3 (from .../ruby1.9.3_1.9.3.0-1ubuntu2_all.deb) ... | |
Processing triggers for man-db ... | |
Setting up libyaml-0-2 (0.1.4-2) ... | |
Setting up libruby1.9.1 (1.9.3.0-1ubuntu2) ... | |
Setting up tk8.5 (8.5.11-1) ... | |
update-alternatives: using /usr/bin/wish8.5 to provide /usr/bin/wish (wish) in auto mode. | |
Setting up libtcltk-ruby1.9.1 (1.9.3.0-1ubuntu2) ... | |
Setting up ruby1.9.1 (1.9.3.0-1ubuntu2) ... | |
update-alternatives: using /usr/bin/gem1.9.1 to provide /usr/bin/gem (gem) in auto mode. | |
update-alternatives: using /usr/bin/ruby1.9.1 to provide /usr/bin/ruby (ruby) in auto mode. | |
Setting up ri1.9.1 (1.9.3.0-1ubuntu2) ... | |
Setting up ruby1.9.1-dev (1.9.3.0-1ubuntu2) ... | |
Setting up ruby1.9.1-examples (1.9.3.0-1ubuntu2) ... | |
Setting up libruby1.9.1-dbg (1.9.3.0-1ubuntu2) ... | |
Setting up ruby1.9.1-full (1.9.3.0-1ubuntu2) ... | |
Setting up ruby1.9.3 (1.9.3.0-1ubuntu2) ... | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
lukea@prop115:~$ ruby -v | |
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] | |
lukea@prop115:~$ sudo gem install rails | |
Fetching: i18n-0.6.0.gem (100%) | |
Fetching: multi_json-1.3.6.gem (100%) | |
Fetching: activesupport-3.2.6.gem (100%) | |
Fetching: builder-3.0.0.gem (100%) | |
Fetching: activemodel-3.2.6.gem (100%) | |
Fetching: rack-1.4.1.gem (100%) | |
Fetching: rack-cache-1.2.gem (100%) | |
Fetching: rack-test-0.6.1.gem (100%) | |
Fetching: journey-1.0.4.gem (100%) | |
Fetching: hike-1.2.1.gem (100%) | |
Fetching: tilt-1.3.3.gem (100%) | |
Fetching: sprockets-2.1.3.gem (100%) | |
Fetching: erubis-2.7.0.gem (100%) | |
Fetching: actionpack-3.2.6.gem (100%) | |
Fetching: arel-3.0.2.gem (100%) | |
Fetching: tzinfo-0.3.33.gem (100%) | |
Fetching: activerecord-3.2.6.gem (100%) | |
Fetching: activeresource-3.2.6.gem (100%) | |
Fetching: mime-types-1.19.gem (100%) | |
Fetching: polyglot-0.3.3.gem (100%) | |
Fetching: treetop-1.4.10.gem (100%) | |
Fetching: mail-2.4.4.gem (100%) | |
Fetching: actionmailer-3.2.6.gem (100%) | |
Fetching: rake-0.9.2.2.gem (100%) | |
Fetching: rack-ssl-1.3.2.gem (100%) | |
Fetching: thor-0.15.4.gem (100%) | |
Fetching: json-1.7.3.gem (100%) | |
Building native extensions. This could take a while... | |
Fetching: rdoc-3.12.gem (100%) | |
Depending on your version of ruby, you may need to install ruby rdoc/ri data: | |
<= 1.8.6 : unsupported | |
= 1.8.7 : gem install rdoc-data; rdoc-data --install | |
= 1.9.1 : gem install rdoc-data; rdoc-data --install | |
>= 1.9.2 : nothing to do! Yay! | |
Fetching: railties-3.2.6.gem (100%) | |
Fetching: bundler-1.1.4.gem (100%) | |
Fetching: rails-3.2.6.gem (100%) | |
Successfully installed i18n-0.6.0 | |
Successfully installed multi_json-1.3.6 | |
Successfully installed activesupport-3.2.6 | |
Successfully installed builder-3.0.0 | |
Successfully installed activemodel-3.2.6 | |
Successfully installed rack-1.4.1 | |
Successfully installed rack-cache-1.2 | |
Successfully installed rack-test-0.6.1 | |
Successfully installed journey-1.0.4 | |
Successfully installed hike-1.2.1 | |
Successfully installed tilt-1.3.3 | |
Successfully installed sprockets-2.1.3 | |
Successfully installed erubis-2.7.0 | |
Successfully installed actionpack-3.2.6 | |
Successfully installed arel-3.0.2 | |
Successfully installed tzinfo-0.3.33 | |
Successfully installed activerecord-3.2.6 | |
Successfully installed activeresource-3.2.6 | |
Successfully installed mime-types-1.19 | |
Successfully installed polyglot-0.3.3 | |
Successfully installed treetop-1.4.10 | |
Successfully installed mail-2.4.4 | |
Successfully installed actionmailer-3.2.6 | |
Successfully installed rake-0.9.2.2 | |
Successfully installed rack-ssl-1.3.2 | |
Successfully installed thor-0.15.4 | |
Successfully installed json-1.7.3 | |
Successfully installed rdoc-3.12 | |
Successfully installed railties-3.2.6 | |
Successfully installed bundler-1.1.4 | |
Successfully installed rails-3.2.6 | |
31 gems installed | |
Installing ri documentation for i18n-0.6.0... | |
Installing ri documentation for multi_json-1.3.6... | |
Installing ri documentation for activesupport-3.2.6... | |
Installing ri documentation for builder-3.0.0... | |
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping | |
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping | |
Installing ri documentation for activemodel-3.2.6... | |
Installing ri documentation for rack-1.4.1... | |
Installing ri documentation for rack-cache-1.2... | |
Installing ri documentation for rack-test-0.6.1... | |
Installing ri documentation for journey-1.0.4... | |
Installing ri documentation for hike-1.2.1... | |
Installing ri documentation for tilt-1.3.3... | |
Installing ri documentation for sprockets-2.1.3... | |
Installing ri documentation for erubis-2.7.0... | |
Installing ri documentation for actionpack-3.2.6... | |
Installing ri documentation for arel-3.0.2... | |
Installing ri documentation for tzinfo-0.3.33... | |
Installing ri documentation for activerecord-3.2.6... | |
Installing ri documentation for activeresource-3.2.6... | |
Installing ri documentation for mime-types-1.19... | |
Installing ri documentation for polyglot-0.3.3... | |
Installing ri documentation for treetop-1.4.10... | |
Installing ri documentation for mail-2.4.4... | |
Installing ri documentation for actionmailer-3.2.6... | |
Installing ri documentation for rake-0.9.2.2... | |
Installing ri documentation for rack-ssl-1.3.2... | |
Installing ri documentation for thor-0.15.4... | |
Installing ri documentation for json-1.7.3... | |
Installing ri documentation for rdoc-3.12... | |
Installing ri documentation for railties-3.2.6... | |
Installing ri documentation for bundler-1.1.4... | |
Installing ri documentation for rails-3.2.6... | |
Installing RDoc documentation for i18n-0.6.0... | |
Installing RDoc documentation for multi_json-1.3.6... | |
Installing RDoc documentation for activesupport-3.2.6... | |
Installing RDoc documentation for builder-3.0.0... | |
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping | |
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping | |
Installing RDoc documentation for activemodel-3.2.6... | |
Installing RDoc documentation for rack-1.4.1... | |
Installing RDoc documentation for rack-cache-1.2... | |
Installing RDoc documentation for rack-test-0.6.1... | |
Installing RDoc documentation for journey-1.0.4... | |
Installing RDoc documentation for hike-1.2.1... | |
Installing RDoc documentation for tilt-1.3.3... | |
Installing RDoc documentation for sprockets-2.1.3... | |
Installing RDoc documentation for erubis-2.7.0... | |
Installing RDoc documentation for actionpack-3.2.6... | |
Installing RDoc documentation for arel-3.0.2... | |
Installing RDoc documentation for tzinfo-0.3.33... | |
Installing RDoc documentation for activerecord-3.2.6... | |
Installing RDoc documentation for activeresource-3.2.6... | |
Installing RDoc documentation for mime-types-1.19... | |
Installing RDoc documentation for polyglot-0.3.3... | |
Installing RDoc documentation for treetop-1.4.10... | |
Installing RDoc documentation for mail-2.4.4... | |
Installing RDoc documentation for actionmailer-3.2.6... | |
Installing RDoc documentation for rake-0.9.2.2... | |
Installing RDoc documentation for rack-ssl-1.3.2... | |
Installing RDoc documentation for thor-0.15.4... | |
Installing RDoc documentation for json-1.7.3... | |
Installing RDoc documentation for rdoc-3.12... | |
Installing RDoc documentation for railties-3.2.6... | |
Installing RDoc documentation for bundler-1.1.4... | |
Installing RDoc documentation for rails-3.2.6... | |
lukea@prop115:~$ rails -v | |
Rails 3.2.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment