Skip to content

Setting up

Alexander Lozada edited this page Sep 14, 2016 · 3 revisions

If you don't already have Ruby, please install it on your desired platform. To get tumblr_client, simply enter

gem install tumblr_client

If you are using this library in a project, it is recommended you use a Gemfile.

# Gemfile
source 'https://rubygems.org'
gem 'tumblr_client`

After you have created a Gemfile, run bundle in your console to install the Tumblr library.

To use the library in a .rb file, simply require the gem.

require 'tumblr_client'
Clone this wiki locally