Advertisement
starfry

RVM Installation Session

Feb 28th, 2012
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.93 KB | None | 0 0
  1. (log in to new host as root)
  2.  
  3. # uname -a
  4.  
  5.  
  6. # gem update
  7. Updating installed gems
  8. Updating json
  9. Fetching: json-1.6.5.gem (100%)
  10. WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,
  11. gem executables will not run.
  12. Building native extensions. This could take a while...
  13. Successfully installed json-1.6.5
  14. Updating minitest
  15. Fetching: minitest-2.11.2.gem (100%)
  16. Successfully installed minitest-2.11.2
  17. Updating rdoc
  18. Fetching: rdoc-3.12.gem (100%)
  19. Depending on your version of ruby, you may need to install ruby rdoc/ri data:
  20.  
  21. <= 1.8.6 : unsupported
  22. = 1.8.7 : gem install rdoc-data; rdoc-data --install
  23. = 1.9.1 : gem install rdoc-data; rdoc-data --install
  24. >= 1.9.2 : nothing to do! Yay!
  25. Successfully installed rdoc-3.12
  26. Gems updated: json, minitest, rdoc
  27. Installing ri documentation for json-1.6.5...
  28. Installing ri documentation for minitest-2.11.2...
  29. Installing ri documentation for rdoc-3.12...
  30. Installing RDoc documentation for json-1.6.5...
  31. Installing RDoc documentation for minitest-2.11.2...
  32. Installing RDoc documentation for rdoc-3.12...
  33.  
  34. #ruby -v
  35. ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]
  36.  
  37. # gem environment
  38. RubyGems Environment:
  39. - RUBYGEMS VERSION: 1.8.11
  40. - RUBY VERSION: 1.9.3 (2012-02-16 patchlevel 125) [x86_64-linux]
  41. - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1
  42. - RUBY EXECUTABLE: /usr/bin/ruby
  43. - EXECUTABLE DIRECTORY: /usr/bin
  44. - RUBYGEMS PLATFORMS:
  45. - ruby
  46. - x86_64-linux
  47. - GEM PATHS:
  48. - /usr/lib/ruby/gems/1.9.1
  49. #
  50. - /root/.gem/ruby/1.9.1
  51. - GEM CONFIGURATION:
  52. - :update_sources => true
  53. - :verbose => true
  54. - :benchmark => false
  55. - :backtrace => false
  56. - :bulk_threshold => 1000
  57. - "gem" => "--user-install"
  58. - REMOTE SOURCES:
  59. - http://rubygems.org/
  60.  
  61. #which gem
  62. /usr/bin/gem
  63.  
  64. # useradd -c 'RVM Setup Account' -u 1101 -m -g users -d /home/rvmsetup -s /bin/bash rvmsetup
  65. # rvmsetup:rvmsetup | chpasswd
  66. # echo -e "rvmsetup ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
  67. # exit
  68.  
  69. (log in as regular user "rvmsetup")
  70.  
  71. $ id
  72. uid=1101(rvmsetup) gid=100(users) groups=100(users)
  73.  
  74. $ sudo bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
  75. Downloading RVM from wayneeseguin branch master
  76. % Total % Received % Xferd Average Speed Time Time Time Current
  77. Dload Upload Total Spent Left Speed
  78. 100 125 100 125 0 0 207 0 --:--:-- --:--:-- --:--:-- 266
  79. 100 920k 100 920k 0 0 193k 0 0:00:04 0:00:04 --:--:-- 251k
  80.  
  81. Installing RVM to /usr/local/rvm/
  82. Creating RVM system user group 'rvm'
  83.  
  84. # RVM: Shell scripts enabling management of multiple ruby environments.
  85. # RTFM: https://rvm.beginrescueend.com/
  86. # HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
  87. # Screencast: http://screencasts.org/episodes/how-to-use-rvm
  88.  
  89. # In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
  90.  
  91. Installation of RVM in /usr/local/rvm/ is almost complete:
  92.  
  93. * First you need to add all users that will be using rvm to 'rvm' group,
  94. anyone using rvm will be operating with `umask g+w`.
  95.  
  96. * To start using RVM you need to run `source /etc/profile.d/rvm.sh`
  97. in all your open shell windows, in rare cases you need to reopen all shell windows.
  98.  
  99. * Optionally you can run `rvm tools rvm-env ruby bash` which will generate
  100. shebang wrappers for easier selecting ruby in scripts.
  101.  
  102. # rvmsetup,
  103. #
  104. # Thank you for using RVM!
  105. # I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
  106. #
  107. # ~Wayne
  108.  
  109. $ sudo usermod -a -G rvm rvmsetup
  110. $ exit
  111.  
  112. (log in again as regular user "rvmsetup")
  113.  
  114. $ id
  115. uid=1101(rvmsetup) gid=100(users) groups=100(users),1000(rvm)
  116.  
  117. $ /usr/local/rvm/bin/rvmsudo /usr/local/rvm/bin/rvm get head
  118. Downloading RVM from wayneeseguin branch master
  119. % Total % Received % Xferd Average Speed Time Time Time Current
  120. Dload Upload Total Spent Left Speed
  121. 100 125 100 125 0 0 208 0 --:--:-- --:--:-- --:--:-- 269
  122. 100 920k 100 920k 0 0 192k 0 0:00:04 0:00:04 --:--:-- 267k
  123.  
  124. Upgrading the RVM installation in /usr/local/rvm/
  125. RVM system user group 'rvm' exists, proceeding with installation.
  126.  
  127. Upgrade Notes:
  128.  
  129. * No new notes to display.
  130.  
  131. # RVM: Shell scripts enabling management of multiple ruby environments.
  132. # RTFM: https://rvm.beginrescueend.com/
  133. # HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
  134. # Screencast: http://screencasts.org/episodes/how-to-use-rvm
  135.  
  136. # In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
  137.  
  138. Upgrade of RVM in /usr/local/rvm/ is complete.
  139.  
  140. # rvmsetup,
  141. #
  142. # Thank you for using RVM!
  143. # I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
  144. #
  145. # ~Wayne
  146.  
  147.  
  148. Installed RVM master version:
  149.  
  150. rvm 1.10.3 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]
  151.  
  152. RVM reloaded!
  153. $ exit
  154.  
  155. ( and login again again)
  156.  
  157.  
  158. $ id
  159. uid=1101(rvmsetup) gid=100(users) groups=100(users),1000(rvm)
  160.  
  161. $ type rvm | head -n1
  162. rvm is a function
  163. -bash: type: write error: Broken pipe
  164.  
  165. $ rvm install 1.9.3-p0
  166. Fetching yaml-0.1.4.tar.gz to /usr/local/rvm/archives
  167. % Total % Received % Xferd Average Speed Time Time Time Current
  168. Dload Upload Total Spent Left Speed
  169. 100 460k 100 460k 0 0 97985 0 0:00:04 0:00:04 --:--:-- 153k
  170. Extracting yaml-0.1.4.tar.gz to /usr/local/rvm/src
  171. Prepare yaml in /usr/local/rvm/src/yaml-0.1.4.
  172. Configuring yaml in /usr/local/rvm/src/yaml-0.1.4.
  173. Compiling yaml in /usr/local/rvm/src/yaml-0.1.4.
  174. Installing yaml to /usr/local/rvm/usr
  175. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
  176.  
  177. ruby-1.9.3-p0 - #fetching
  178. ruby-1.9.3-p0 - #downloading ruby-1.9.3-p0, this may take a while depending on your connection...
  179. % Total % Received % Xferd Average Speed Time Time Time Current
  180. Dload Upload Total Spent Left Speed
  181. 100 9330k 100 9330k 0 0 258k 0 0:00:36 0:00:36 --:--:-- 281k
  182. ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /usr/local/rvm/src/ruby-1.9.3-p0
  183. ruby-1.9.3-p0 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p0
  184. ruby-1.9.3-p0 - #configuring
  185. ruby-1.9.3-p0 - #compiling
  186. ruby-1.9.3-p0 - #installing
  187. Retrieving rubygems-1.8.17
  188. % Total % Received % Xferd Average Speed Time Time Time Current
  189. Dload Upload Total Spent Left Speed
  190. 100 246k 100 246k 0 0 247k 0 --:--:-- --:--:-- --:--:-- 263k
  191. Extracting rubygems-1.8.17 ...
  192. Removing old Rubygems files...
  193. Installing rubygems-1.8.17 for ruby-1.9.3-p0 ...
  194. Installation of rubygems completed successfully.
  195. ruby-1.9.3-p0 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
  196. ruby-1.9.3-p0 - #importing default gemsets (/usr/local/rvm/gemsets/)
  197. Install of ruby-1.9.3-p0 - #complete
  198.  
  199. $ rvm install 1.8.7-p358
  200. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.8.7-p358, this may take a while depending on your cpu(s)...
  201.  
  202. ruby-1.8.7-p358 - #fetching
  203. ruby-1.8.7-p358 - #downloading ruby-1.8.7-p358, this may take a while depending on your connection...
  204. % Total % Received % Xferd Average Speed Time Time Time Current
  205. Dload Upload Total Spent Left Speed
  206. 100 4111k 100 4111k 0 0 236k 0 0:00:17 0:00:17 --:--:-- 284k
  207. ruby-1.8.7-p358 - #extracting ruby-1.8.7-p358 to /usr/local/rvm/src/ruby-1.8.7-p358
  208. ruby-1.8.7-p358 - #extracted to /usr/local/rvm/src/ruby-1.8.7-p358
  209. Applying patch 'stdout-rouge-fix' (located at /usr/local/rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch)
  210. Applying patch 'no_sslv2' (located at /usr/local/rvm/patches/ruby/1.8.7/no_sslv2.diff)
  211. ruby-1.8.7-p358 - #configuring
  212. ruby-1.8.7-p358 - #compiling
  213. ruby-1.8.7-p358 - #installing
  214. Removing old Rubygems files...
  215. Installing rubygems-1.8.17 for ruby-1.8.7-p358 ...
  216. Installation of rubygems completed successfully.
  217. ruby-1.8.7-p358 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
  218. ruby-1.8.7-p358 - #importing default gemsets (/usr/local/rvm/gemsets/)
  219. Install of ruby-1.8.7-p358 - #complete
  220.  
  221. $ rvm use ruby-1.8.7-p358@rails-2.0.2 --create
  222.  
  223. Using /usr/local/rvm/gems/ruby-1.8.7-p358 with gemset rails-2.0.2
  224.  
  225. $ gem install rails --version=2.0.2
  226. Fetching: rake-0.9.2.2.gem (100%)
  227. WARNING: You don't have /home/rvmsetup/.gem/ruby/1.8/bin in your PATH,
  228. gem executables will not run.
  229. Fetching: activesupport-2.0.2.gem (100%)
  230. Fetching: activerecord-2.0.2.gem (100%)
  231. Fetching: actionpack-2.0.2.gem (100%)
  232. Fetching: actionmailer-2.0.2.gem (100%)
  233. Fetching: activeresource-2.0.2.gem (100%)
  234. Fetching: rails-2.0.2.gem (100%)
  235. Successfully installed rake-0.9.2.2
  236. Successfully installed activesupport-2.0.2
  237. Successfully installed activerecord-2.0.2
  238. Successfully installed actionpack-2.0.2
  239. Successfully installed actionmailer-2.0.2
  240. Successfully installed activeresource-2.0.2
  241. Successfully installed rails-2.0.2
  242. 7 gems installed
  243. Installing ri documentation for rake-0.9.2.2...
  244. Installing ri documentation for activesupport-2.0.2...
  245. Installing ri documentation for activerecord-2.0.2...
  246. Installing ri documentation for actionpack-2.0.2...
  247. Installing ri documentation for actionmailer-2.0.2...
  248. Installing ri documentation for activeresource-2.0.2...
  249. Installing ri documentation for rails-2.0.2...
  250. Installing RDoc documentation for rake-0.9.2.2...
  251. Installing RDoc documentation for activesupport-2.0.2...
  252. Installing RDoc documentation for activerecord-2.0.2...
  253. Installing RDoc documentation for actionpack-2.0.2...
  254. Installing RDoc documentation for actionmailer-2.0.2...
  255. Installing RDoc documentation for activeresource-2.0.2...
  256. Installing RDoc documentation for rails-2.0.2...
  257. $ gem list
  258.  
  259. *** LOCAL GEMS ***
  260.  
  261. (note the above installation of rails 2.0.2 is missing from here)
  262.  
  263. $ ruby -v
  264. ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
  265.  
  266. $ rails -v
  267. -bash: rails: command not found
  268.  
  269. $ rvm list gemsets
  270.  
  271. rvm gemsets
  272.  
  273. ruby-1.8.7-p358 [ x86_64 ]
  274. ruby-1.8.7-p358@global [ x86_64 ]
  275. => ruby-1.8.7-p358@rails-2.0.2 [ x86_64 ]
  276. ruby-1.9.3-p0 [ x86_64 ]
  277. ruby-1.9.3-p0@global [ x86_64 ]
  278.  
  279. $ gem env
  280. RubyGems Environment:
  281. - RUBYGEMS VERSION: 1.8.17
  282. - RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
  283. - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.0.2
  284. - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby
  285. - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.0.2/bin
  286. - RUBYGEMS PLATFORMS:
  287. - ruby
  288. - x86_64-linux
  289. - GEM PATHS:
  290. - /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.0.2
  291. - /usr/local/rvm/gems/ruby-1.8.7-p358@global
  292. - GEM CONFIGURATION:
  293. - :update_sources => true
  294. - :verbose => true
  295. - :benchmark => false
  296. - :backtrace => false
  297. - :bulk_threshold => 1000
  298. - "gem" => "--user-install"
  299. - REMOTE SOURCES:
  300. - http://rubygems.org/
  301.  
  302. $ rvm list
  303.  
  304. rvm rubies
  305.  
  306. => ruby-1.8.7-p358 [ x86_64 ]
  307. ruby-1.9.3-p0 [ x86_64 ]
  308.  
  309. # Default ruby not set. Try 'rvm alias create default <ruby>'.
  310.  
  311. # => - current
  312. # =* - current && default
  313. # * - default
  314.  
  315. $ rvm version
  316.  
  317. rvm 1.10.3 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]
  318.  
  319. $ rvm use ruby-1.9.3-p0@rails --create
  320. Using /usr/local/rvm/gems/ruby-1.9.3-p0 with gemset rails
  321.  
  322. $ gem env
  323. RubyGems Environment:
  324. - RUBYGEMS VERSION: 1.8.17
  325. - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-linux]
  326. - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p0@rails
  327. - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby
  328. - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p0@rails/bin
  329. - RUBYGEMS PLATFORMS:
  330. - ruby
  331. - x86_64-linux
  332. - GEM PATHS:
  333. - /usr/local/rvm/gems/ruby-1.9.3-p0@rails
  334. - /usr/local/rvm/gems/ruby-1.9.3-p0@global
  335. - GEM CONFIGURATION:
  336. - :update_sources => true
  337. - :verbose => true
  338. - :benchmark => false
  339. - :backtrace => false
  340. - :bulk_threshold => 1000
  341. - REMOTE SOURCES:
  342. - http://rubygems.org/
  343.  
  344. $ gem install rails
  345. Fetching: i18n-0.6.0.gem (100%)
  346. Fetching: multi_json-1.1.0.gem (100%)
  347. Fetching: activesupport-3.2.1.gem (100%)
  348. Fetching: builder-3.0.0.gem (100%)
  349. Fetching: activemodel-3.2.1.gem (100%)
  350. Fetching: rack-1.4.1.gem (100%)
  351. Fetching: rack-cache-1.1.gem (100%)
  352. Fetching: rack-test-0.6.1.gem (100%)
  353. Fetching: journey-1.0.3.gem (100%)
  354. Fetching: hike-1.2.1.gem (100%)
  355. Fetching: tilt-1.3.3.gem (100%)
  356. Fetching: sprockets-2.1.2.gem (100%)
  357. Fetching: erubis-2.7.0.gem (100%)
  358. Fetching: actionpack-3.2.1.gem (100%)
  359. Fetching: arel-3.0.2.gem (100%)
  360. Fetching: tzinfo-0.3.31.gem (100%)
  361. Fetching: activerecord-3.2.1.gem (100%)
  362. Fetching: activeresource-3.2.1.gem (100%)
  363. Fetching: mime-types-1.17.2.gem (100%)
  364. Fetching: polyglot-0.3.3.gem (100%)
  365. Fetching: treetop-1.4.10.gem (100%)
  366. Fetching: mail-2.4.1.gem (100%)
  367. Fetching: actionmailer-3.2.1.gem (100%)
  368. Fetching: rake-0.9.2.2.gem (100%)
  369. Fetching: thor-0.14.6.gem (100%)
  370. Fetching: rack-ssl-1.3.2.gem (100%)
  371. Fetching: json-1.6.5.gem (100%)
  372. Building native extensions. This could take a while...
  373. Fetching: rdoc-3.12.gem (100%)
  374. Depending on your version of ruby, you may need to install ruby rdoc/ri data:
  375.  
  376. <= 1.8.6 : unsupported
  377. = 1.8.7 : gem install rdoc-data; rdoc-data --install
  378. = 1.9.1 : gem install rdoc-data; rdoc-data --install
  379. >= 1.9.2 : nothing to do! Yay!
  380. Fetching: railties-3.2.1.gem (100%)
  381. Fetching: rails-3.2.1.gem (100%)
  382. Successfully installed i18n-0.6.0
  383. Successfully installed multi_json-1.1.0
  384. Successfully installed activesupport-3.2.1
  385. Successfully installed builder-3.0.0
  386. Successfully installed activemodel-3.2.1
  387. Successfully installed rack-1.4.1
  388. Successfully installed rack-cache-1.1
  389. Successfully installed rack-test-0.6.1
  390. Successfully installed journey-1.0.3
  391. Successfully installed hike-1.2.1
  392. Successfully installed tilt-1.3.3
  393. Successfully installed sprockets-2.1.2
  394. Successfully installed erubis-2.7.0
  395. Successfully installed actionpack-3.2.1
  396. Successfully installed arel-3.0.2
  397. Successfully installed tzinfo-0.3.31
  398. Successfully installed activerecord-3.2.1
  399. Successfully installed activeresource-3.2.1
  400. Successfully installed mime-types-1.17.2
  401. Successfully installed polyglot-0.3.3
  402. Successfully installed treetop-1.4.10
  403. Successfully installed mail-2.4.1
  404. Successfully installed actionmailer-3.2.1
  405. Successfully installed rake-0.9.2.2
  406. Successfully installed thor-0.14.6
  407. Successfully installed rack-ssl-1.3.2
  408. Successfully installed json-1.6.5
  409. Successfully installed rdoc-3.12
  410. Successfully installed railties-3.2.1
  411. Successfully installed rails-3.2.1
  412. 30 gems installed
  413. Installing ri documentation for i18n-0.6.0...
  414. Installing ri documentation for multi_json-1.1.0...
  415. Installing ri documentation for activesupport-3.2.1...
  416. Installing ri documentation for builder-3.0.0...
  417. unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
  418. unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping
  419. Installing ri documentation for activemodel-3.2.1...
  420. Installing ri documentation for rack-1.4.1...
  421. Installing ri documentation for rack-cache-1.1...
  422. Installing ri documentation for rack-test-0.6.1...
  423. Installing ri documentation for journey-1.0.3...
  424. Installing ri documentation for hike-1.2.1...
  425. Installing ri documentation for tilt-1.3.3...
  426. Installing ri documentation for sprockets-2.1.2...
  427. Installing ri documentation for erubis-2.7.0...
  428. Installing ri documentation for actionpack-3.2.1...
  429. Installing ri documentation for arel-3.0.2...
  430. Installing ri documentation for tzinfo-0.3.31...
  431. Installing ri documentation for activerecord-3.2.1...
  432. Installing ri documentation for activeresource-3.2.1...
  433. Installing ri documentation for mime-types-1.17.2...
  434. Installing ri documentation for polyglot-0.3.3...
  435. Installing ri documentation for treetop-1.4.10...
  436. Installing ri documentation for mail-2.4.1...
  437. Installing ri documentation for actionmailer-3.2.1...
  438. Installing ri documentation for rake-0.9.2.2...
  439. Installing ri documentation for thor-0.14.6...
  440. Installing ri documentation for rack-ssl-1.3.2...
  441. Installing ri documentation for json-1.6.5...
  442. Installing ri documentation for rdoc-3.12...
  443. Installing ri documentation for railties-3.2.1...
  444. Installing ri documentation for rails-3.2.1...
  445. Installing RDoc documentation for i18n-0.6.0...
  446. Installing RDoc documentation for multi_json-1.1.0...
  447. Installing RDoc documentation for activesupport-3.2.1...
  448. Installing RDoc documentation for builder-3.0.0...
  449. unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
  450. unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping
  451. Installing RDoc documentation for activemodel-3.2.1...
  452. Installing RDoc documentation for rack-1.4.1...
  453. Installing RDoc documentation for rack-cache-1.1...
  454. Installing RDoc documentation for rack-test-0.6.1...
  455. Installing RDoc documentation for journey-1.0.3...
  456. Installing RDoc documentation for hike-1.2.1...
  457. Installing RDoc documentation for tilt-1.3.3...
  458. Installing RDoc documentation for sprockets-2.1.2...
  459. Installing RDoc documentation for erubis-2.7.0...
  460. Installing RDoc documentation for actionpack-3.2.1...
  461. Installing RDoc documentation for arel-3.0.2...
  462. Installing RDoc documentation for tzinfo-0.3.31...
  463. Installing RDoc documentation for activerecord-3.2.1...
  464. Installing RDoc documentation for activeresource-3.2.1...
  465. Installing RDoc documentation for mime-types-1.17.2...
  466. Installing RDoc documentation for polyglot-0.3.3...
  467. Installing RDoc documentation for treetop-1.4.10...
  468. Installing RDoc documentation for mail-2.4.1...
  469. Installing RDoc documentation for actionmailer-3.2.1...
  470. Installing RDoc documentation for rake-0.9.2.2...
  471. Installing RDoc documentation for thor-0.14.6...
  472. Installing RDoc documentation for rack-ssl-1.3.2...
  473. Installing RDoc documentation for json-1.6.5...
  474. Installing RDoc documentation for rdoc-3.12...
  475. Installing RDoc documentation for railties-3.2.1...
  476. Installing RDoc documentation for rails-3.2.1...
  477.  
  478. $ gem list
  479.  
  480. *** LOCAL GEMS ***
  481.  
  482. actionmailer (3.2.1)
  483. actionpack (3.2.1)
  484. activemodel (3.2.1)
  485. activerecord (3.2.1)
  486. activeresource (3.2.1)
  487. activesupport (3.2.1)
  488. arel (3.0.2)
  489. builder (3.0.0)
  490. bundler (1.0.22)
  491. erubis (2.7.0)
  492. hike (1.2.1)
  493. i18n (0.6.0)
  494. journey (1.0.3)
  495. json (1.6.5)
  496. mail (2.4.1)
  497. mime-types (1.17.2)
  498. multi_json (1.1.0)
  499. polyglot (0.3.3)
  500. rack (1.4.1)
  501. rack-cache (1.1)
  502. rack-ssl (1.3.2)
  503. rack-test (0.6.1)
  504. rails (3.2.1)
  505. railties (3.2.1)
  506. rake (0.9.2.2)
  507. rdoc (3.12)
  508. sprockets (2.1.2)
  509. thor (0.14.6)
  510. tilt (1.3.3)
  511. treetop (1.4.10)
  512. tzinfo (0.3.31)
  513.  
  514. $ gem environment
  515. RubyGems Environment:
  516. - RUBYGEMS VERSION: 1.8.17
  517. - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-linux]
  518. - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p0@rails
  519. - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby
  520. - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p0@rails/bin
  521. - RUBYGEMS PLATFORMS:
  522. - ruby
  523. - x86_64-linux
  524. - GEM PATHS:
  525. - /usr/local/rvm/gems/ruby-1.9.3-p0@rails
  526. - /usr/local/rvm/gems/ruby-1.9.3-p0@global
  527. - GEM CONFIGURATION:
  528. - :update_sources => true
  529. - :verbose => true
  530. - :benchmark => false
  531. - :backtrace => false
  532. - :bulk_threshold => 1000
  533. - REMOTE SOURCES:
  534. - http://rubygems.org/
  535.  
  536. $ ruby -v
  537. ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
  538.  
  539. $ rails -v
  540. Rails 3.2.1
  541.  
  542. $ rvm gemset create rails-2.3.5
  543. 'rails-2.3.5' gemset created (/usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.3.5).
  544.  
  545. $ gem env
  546. RubyGems Environment:
  547. - RUBYGEMS VERSION: 1.8.17
  548. - RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
  549. - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.0.2
  550. - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby
  551. - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.0.2/bin
  552. - RUBYGEMS PLATFORMS:
  553. - ruby
  554. - x86_64-linux
  555. - GEM PATHS:
  556. - /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.0.2
  557. - /usr/local/rvm/gems/ruby-1.8.7-p358@global
  558. - GEM CONFIGURATION:
  559. - :update_sources => true
  560. - :verbose => true
  561. - :benchmark => false
  562. - :backtrace => false
  563. - :bulk_threshold => 1000
  564. - "gem" => "--user-install"
  565. - REMOTE SOURCES:
  566. - http://rubygems.org/
  567.  
  568. $ rvm gemset use rails-2.3.5
  569. Using /usr/local/rvm/gems/ruby-1.8.7-p358 with gemset rails-2.3.5
  570.  
  571. $ gem env
  572. RubyGems Environment:
  573. - RUBYGEMS VERSION: 1.8.17
  574. - RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
  575. - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.3.5
  576. - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.8.7-p358/bin/ruby
  577. - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.3.5/bin
  578. - RUBYGEMS PLATFORMS:
  579. - ruby
  580. - x86_64-linux
  581. - GEM PATHS:
  582. - /usr/local/rvm/gems/ruby-1.8.7-p358@rails-2.3.5
  583. - /usr/local/rvm/gems/ruby-1.8.7-p358@global
  584. - GEM CONFIGURATION:
  585. - :update_sources => true
  586. - :verbose => true
  587. - :benchmark => false
  588. - :backtrace => false
  589. - :bulk_threshold => 1000
  590. - "gem" => "--user-install"
  591. - REMOTE SOURCES:
  592. - http://rubygems.org/
  593. $ gem list
  594.  
  595. *** LOCAL GEMS ***
  596.  
  597.  
  598. $ gem install rails --version=2.3.5
  599. Fetching: rake-0.9.2.2.gem (100%)
  600. WARNING: You don't have /home/rvmsetup/.gem/ruby/1.8/bin in your PATH,
  601. gem executables will not run.
  602. Fetching: activesupport-2.3.5.gem (100%)
  603. Fetching: activerecord-2.3.5.gem (100%)
  604. Fetching: rack-1.0.1.gem (100%)
  605. Fetching: actionpack-2.3.5.gem (100%)
  606. Fetching: actionmailer-2.3.5.gem (100%)
  607. Fetching: activeresource-2.3.5.gem (100%)
  608. Fetching: rails-2.3.5.gem (100%)
  609. Successfully installed rake-0.9.2.2
  610. Successfully installed activesupport-2.3.5
  611. Successfully installed activerecord-2.3.5
  612. Successfully installed rack-1.0.1
  613. Successfully installed actionpack-2.3.5
  614. Successfully installed actionmailer-2.3.5
  615. Successfully installed activeresource-2.3.5
  616. Successfully installed rails-2.3.5
  617. 8 gems installed
  618. Installing ri documentation for rake-0.9.2.2...
  619. Installing ri documentation for activesupport-2.3.5...
  620. Installing ri documentation for activerecord-2.3.5...
  621. Installing ri documentation for rack-1.0.1...
  622. Installing ri documentation for actionpack-2.3.5...
  623. Installing ri documentation for actionmailer-2.3.5...
  624. Installing ri documentation for activeresource-2.3.5...
  625. Installing ri documentation for rails-2.3.5...
  626. Installing RDoc documentation for rake-0.9.2.2...
  627. Installing RDoc documentation for activesupport-2.3.5...
  628. Installing RDoc documentation for activerecord-2.3.5...
  629. Installing RDoc documentation for rack-1.0.1...
  630. Installing RDoc documentation for actionpack-2.3.5...
  631. Installing RDoc documentation for actionmailer-2.3.5...
  632. Installing RDoc documentation for activeresource-2.3.5...
  633. Installing RDoc documentation for rails-2.3.5...
  634.  
  635. $ gem list
  636.  
  637. *** LOCAL GEMS ***
  638.  
  639.  
  640. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement