DEV Community

Discussion on: Setting Up Vagrant for a Rails Application: Part 1

Collapse
 
fahmimmaliki profile image
Fahmi Mahmud Maliki

Hi denise, thanks for sharing this knowledge. I think you need add "end" on the last line on The final version of the Vagrant File, because I got this error message
Error Message
So it would be like this

Vagrant.configure("2") do |config|

  config.vm.box = "ubuntu/focal64"
  config.vm.network "forwarded_port", guest: 3000, host: 3000
  config.vm.synced_folder ".", "/vagrant_files"
  config.vm.provider "virtualbox" do |vb|
    vb.memory = "4096"
  end
end
Enter fullscreen mode Exit fullscreen mode