Skip to content

Instantly share code, notes, and snippets.

Created Jan 9, 2012
What would you like to do?
Redmine Client Ruby REPL
# -*- coding: utf-8 -*-
abort if ARGV.empty?
initializer = ARGV.shift
eval(, binding)
prompt_prefix = File.basename(initializer)
require 'rubygems'
require 'pry'
# -*- coding: utf-8 -*-
$KCODE = 'U'
require 'rubygems'
require 'redmine_client'
require 'yaml'
config = YAML.load(
RedmineClient::Base.configure do = config['site']
self.user = config['user']
self.password = config['password']
include RedmineClient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment