LoginSignup
55
56

More than 5 years have passed since last update.

VagrantでRailsが遅い時の対処法

Last updated at Posted at 2013-10-31

VagrantでRailsが遅いときの対処法

Vagrant利用してる時にrails sがとても遅いくて使えないと云う時はVagrantfileに

Vagrant::Config.run do |config|
  config.vm.network :hostonly, "192.168.33.10" # NFSを利用するので設定
  config.vm.share_folder 'v-root', 'vagrant', '.', nfs: true # version 1の場合
  # config.vm.synced_folder ".", "/vagrant", nfs: true # version 2の場合
end

を追加するとだいぶ早くなります.

参考サイト

http://snippets.aktagon.com/snippets/609-slow-io-performance-with-vagrant-and-virtualbox-
http://kubaf.wordpress.com/2013/01/12/vagrant-speed-up-on-mac-os-x/

55
56
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
55
56