Vagrant: rvm ๋‹ค์šด๋กœ๋“œ ์ง„ํ–‰ ์ถœ๋ ฅ์ด ์†์ƒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์— ๋งŒ๋“  2014๋…„ 06์›” 01์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: hashicorp/vagrant

bash ์…ธ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ํ†ตํ•ด ํ”„๋กœ๋น„์ €๋‹ํ•˜๋Š” ์ค‘์ด๋ฉฐ ํ•œ ๋‹จ๊ณ„์—์„œ ์ด์ƒํ•œ ์ถœ๋ ฅ ๋™์ž‘์ด ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

ํŠนํžˆ RVM ์„ค์น˜ ๋‹จ๊ณ„:

sudo -u vagrant -H sh -c "\curl -sSL https://get.rvm.io | bash -s stable --rails"

์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ถœ๋ ฅ์ด ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค. ์ฒ˜์Œ์—๋Š” ์ •๊ฒฐํ•˜์ง€๋งŒ ์ผ๋ฐ˜์ ์œผ๋กœ ์ง„ํ–‰๋ฅ  ํ‘œ์‹œ์ค„์„ ํ‘œ์‹œํ•˜๋Š” ๋‹จ๊ณ„์—์„œ๋Š” ๊ธ€์ž๊ฐ€ ๊ฐœ๋ณ„ ์ธ์‡„ ์ž‘์—…์œผ๋กœ ์ŠคํŠธ๋ฆฌ๋ฐ๋˜๋Š” ๊ฒƒ์ฒ˜๋Ÿผ ๊ฐ ๋ฌธ์ž์— ๊ณ ์œ ํ•œ ์ค„์ด ์žˆ์Šต๋‹ˆ๋‹ค.

==> default: Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
==> default: Installing RVM to /home/vagrant/.rvm/
==> default:     Adding rvm PATH line to /home/vagrant/.profile /home/vagrant/.bashrc /home/vagrant/.zshrc.
==> default:     Adding rvm loading line to /home/vagrant/.bash_profile /home/vagrant/.zlogin.
==> default: Installation of RVM in /home/vagrant/.rvm/ is almost complete:
==> default:   * To start using RVM you need to run `source /home/vagrant/.rvm/scripts/rvm`
==> default:     in all your open shell windows, in rare cases you need to reopen all shell windows.
==> default: # Administrator,
==> default: #
==> default: #   Thank you for using RVM!
==> default: #   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
==> default: #
==> default: # ~Wayne, Michal & team.
==> default: In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
==> default: rvm 1.25.27 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
==> default: Searching for binary rubies, this might take some time.
==> default: No binary rubies available for: ubuntu/14.04/i386/ruby-2.1.2.
==> default: Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
==> default: Checking requirements for ubuntu.
==> default: Requirements installation successful.
==> default: Installing Ruby from source to: /home/vagrant/.rvm/rubies/ruby-2.1.2, this may take a while depending on your cpu(s)...
==> default: ruby-2.1.2 - #downloading ruby-2.1.2, this may take a while depending on your connection...
==> default:  
==> default:  
==> default: %
==> default:  
==> default: T
==> default: o
==> default: t
==> default: a
==> default: l
==> default:  
==> default:  
==> default:  
==> default:  
==> default: %
==> default:  
==> default: R
==> default: e
==> default: c
==> default: e
==> default: i
==> default: v
==> default: e
==> default: d % Xferd  Average Speed   Time    Time     Time  Current
==> default:                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
==> default:  
==> default:  
==> default: 0
==> default:  
==> default:  
==> default:  
==> default:  
==> default:  
==> default: 0
==> default:  
==> default:    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
==> default:  
==> default:  
==> default: 0
==> default:  
==> default:  
==> default:  
==> default:  
==> default:  
==> default: 0
==> default:  
==> default:  
==> default:  
==> default:  
==> default: 0
==> default:  
==> default:  
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
==> default:  
==> default:  
==> default: 8
==> default:  
==> default: 1
==> default: 1
==> default: .
==> default: 4
==> default: M
==> default:  
==> default:  
==> default:  
==> default:  
==> default: 8
==> default:  
==> default:  
==> default: 9
==> default: 6
==> default: 1
==> default: k
==> default:  
==> default:  
==> default:  
==> default:  
==> default: 0
==> default:  
==> default:     0   146k      0  0:01:20  0:00:06  0:01:14  237k
==> default:  
==> default: 31 11.4M   31 3694k    0     0   488k      0  0:00:23  0:00:07  0:00:16  916k
==> default:  
==> default: 8
==> default: 3
==> default:  
==> default: 1
==> default: 1
==> default: .
==> default: 4
==> default: M
==> default:  
==> default:  
==> default:  
==> default: 8
==> default: 3
==> default:  
==> default: 9
==> default: 7
==> default: 6
==> default: 1
==> default: k
==> default:  
==> default:    0     0  1141k      0  0:00:10  0:00:08  0:00:02 2429k
==> default: 1
==> default: 0
==> default: 0
==> default:  
==> default: 1
==> default: 1
==> default: .
==> default: 4
==> default: M
==> default:   100 11.4M    0     0  1325k      0  0:00:08  0:00:08 --:--:-- 3558k
==> default: ruby-2.1.2 - #extracting ruby-2.1.2 to /home/vagrant/.rvm/src/ruby-2.1.2
==> default: ...
==> default: ruby-2.1.2 - #configuring

์ด๊ฒƒ์€ https://github.com/mitchellh/vagrant/issues/471 ๊ณผ ๊ด€๋ จ์ด ์žˆ์„ ์ˆ˜ ์žˆ์ง€๋งŒ ํ•ด๋‹น ๋ฌธ์ œ๋Š” ๋‹ค๋ฅด๊ฒŒ ๋‚˜ํƒ€๋‚ฌ์Šต๋‹ˆ๋‹ค(๋ฌธ์ž ๋ถ„ํ• ์ด ์•„๋‹Œ ์ค„ ์ค‘๋ณต).

ํ™˜๊ฒฝ:
๋ฐฉ๋ž‘์ž 1.6.2
๋ฆฌ๋ˆ…์Šค ๋ฏผํŠธ 16(ํŽ˜ํŠธ๋ผ)

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

์–ธ์ œ/์ด ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋ ์ง€ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ? ๊ฝค ์„ฑ๊ฐ€์‹  ๋ฌธ์ œ :/

๋ชจ๋“  3 ๋Œ“๊ธ€

https://github.com/mitchellh/vagrant/issues/3908 ๊ณผ ๊ฐ™์€ ๋ฌธ์ œ์ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋Œ€๋ถ€๋ถ„ ๋ผ์ธ ์ง€์šฐ๊ธฐ์— ๋Œ€ํ•œ mitchellh์˜ ์˜๊ฒฌ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ์‹ค์ œ ๋ฐœํ˜„์€ ์—ฌ๊ธฐ์„œ ๋‚ด๊ฐ€ ๋ณด๊ณ ํ•˜๋Š” ๊ฒƒ๊ณผ ์™„์ „ํžˆ ๋‹ค๋ฆ…๋‹ˆ๋‹ค. ํ‹ฐ์ผ“์—๋Š” ์ค‘๋ณต๋œ ํ…์ŠคํŠธ๊ฐ€ ์žˆ๊ณ  ์ด ํ‹ฐ์ผ“์—๋Š” ํ…์ŠคํŠธ๊ฐ€ ์ž˜๋ ค ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ๋™์ผํ•œ ๊ทผ๋ณธ ๋ฌธ์ œ์˜ ๋‹ค๋ฅธ ์ง•ํ›„์ผ ์ˆ˜ ์žˆ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.

Vagrant๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ›๋Š” ์ฆ‰์‹œ ๋ฐ์ดํ„ฐ๋ฅผ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ด๊ฒƒ์€ shell/ssh/rvm/somewhere๊ฐ€ ๊ฐ ๊ฐœ๋ณ„ ๋ฐ”์ดํŠธ๋ฅผ ๋ณด๋‚ด๊ณ  Vagrant๊ฐ€ ์ฆ‰์‹œ ํ‘œ์‹œํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

๋ฏธ๋ž˜์˜ ํ•œ ๊ฐ€์ง€ ์˜ต์…˜์€ ์ „์ฒด ๋ผ์ธ์„ ๋ฒ„ํผ๋งํ•˜๊ณ  ์ „์ฒด ๋ผ์ธ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์„ ๋•Œ๊นŒ์ง€ ๊ธฐ๋‹ค๋ฆฌ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” ์•„์ง ์ด๊ฒƒ์„ ํ•˜์ง€ ์•Š์œผ๋ฉฐ ์šฐ์„ ์ˆœ์œ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์ด๊ฒƒ์€ ์šฐ๋ฆฌ๊ฐ€ ๋ฐ›์€ ๋Œ€๋กœ ๋ฐ”์ดํŠธ๋ฅผ ๋ณด๋‚ด๊ธฐ๋งŒ ํ•˜๋ฉด "๊นจ์ง„" ๊ฒƒ์ด ์•„๋‹™๋‹ˆ๋‹ค.

์–ธ์ œ/์ด ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋ ์ง€ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ? ๊ฝค ์„ฑ๊ฐ€์‹  ๋ฌธ์ œ :/

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰