execute "Update Package List" do
  command "apt-get update"
end

include_recipe "sane_postgresql"

include_recipe "vagrant_rbenv"
# Pre-install all required rubies
rubies = node[:rbenv][:ruby_versions]

global_ruby = node[:rbenv][:global_ruby_version].strip
rubies << global_ruby unless rubies.include?(global_ruby)

rubies.each do |ruby_ver|
  rbenv_ruby ruby_ver do
    global(ruby_ver == global_ruby)
  end

  rbenv_gem "bundler" do
    ruby_version ruby_ver
  end
end

[ "git", "nodejs" ].each do |package_name|
  package package_name
end

execute "Update Package List" do
  command "apt-get update"
end

include_recipe "sane_postgresql"

include_recipe "vagrant_rbenv"
# Pre-install all required rubies
rubies = node[:rbenv][:ruby_versions]

global_ruby = node[:rbenv][:global_ruby_version].strip
rubies << global_ruby unless rubies.include?(global_ruby)

rubies.each do |ruby_ver|
  rbenv_ruby ruby_ver do
    global(ruby_ver == global_ruby)
  end

  rbenv_gem "bundler" do
    ruby_version ruby_ver
  end
end

[ "git", "nodejs", "libsqlite3-dev", "sqlite3"].each do |package_name|
  package package_name
end

Install libsqlite3-dev and sqlite3 on vagrant up
Install libsqlite3-dev and sqlite3 on vagrant up
