While we're devoloping CartoDB, we've to update the CartoDB.js version that we're pointing. To do that:
git submodule update
Before updating, if there are errors like for example:
NoMethodError in Admin/visualizations#index
Showing /vagrant/app/views/admin/visualizations/index.html.erb where line #6 raised:
super: no superclass method `private_maps_enabled' for #<User:0x00000006d6dfe8>
I have to do (in Rails console):
bundle exec rake db:migrate
# Update extension. Rails have to be running, so before (in another tab): > foreman start -p 3000
Mergear master
git submodule init && git submodule update
cd lib/sql/ && sudo make all install && bundle exec rake cartodb:db:load_functions
cd ../.. && make check
- Check the VM installed with:
VBoxManage list vms
- When you execute
vagrant up
, the selected machine is: `cat .vagrant/machines/default/virtualbox/id`` - Change the value inside this file if you want to get up another VM.