{
  "description": "",
  "name": "base",
  "env_run_lists": {
  },
  "run_list": [
    "recipe[rvm::system_install]"
  ],
  "json_class": "Chef::Role",
  "chef_type": "role",
  "override_attributes": {
    "rvm": {
      "default_ruby" : "ruby-1.9.3-head"
    }
  },
  "default_attributes": {
  }
}

{
  "default_attributes": {
  },
  "env_run_lists": {
    "production": [
      "recipe[apt]",
      "recipe[rvm::system_install]"
    ]
  },
  "chef_type": "role",
  "run_list": [
    "recipe[apt]",
    "recipe[rvm::system_install]"
  ],
  "description": "",
  "override_attributes": {
    "rvm": {
      "default_ruby": "ruby-1.9.3-head"
    },
    "mongodb": {
      "package_name": "mongodb"
    }
  },
  "json_class": "Chef::Role",
  "name": "base"
}

Add apt to update cache before installing packages
Add apt to update cache before installing packages
