To develop and test your application locally, you can use theCloud Bigtable
Emulator, which provideslocal emulationof the production Cloud Bigtable environment. You can start the Cloud Bigtable
emulator using thegcloudcommand-line tool.
To configure your ruby code to use the emulator, set theBIGTABLE_EMULATOR_HOSTenvironment variable to the host and port where the
emulator is running. The value can be set as an environment variable in the
shell running the ruby code, or can be set directly in the ruby code as shown
below.
require"google/cloud/bigtable"# Make Pub/Sub use the emulatorENV["BIGTABLE_EMULATOR_HOST"]="localhost:8086"bigtable=Google::Cloud::Bigtable.new"emulator-project-id"
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]