From b04fb6af67f27963baaaca895d139cc798610791 Mon Sep 17 00:00:00 2001 From: Greg Molnar Date: Tue, 8 Oct 2013 19:08:10 +0200 Subject: [PATCH 1/2] convert to .ruby-version --- .ruby-gemset | 1 + .ruby-version | 1 + .rvmrc | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .ruby-gemset create mode 100644 .ruby-version delete mode 100644 .rvmrc diff --git a/.ruby-gemset b/.ruby-gemset new file mode 100644 index 0000000..8eb9872 --- /dev/null +++ b/.ruby-gemset @@ -0,0 +1 @@ +private_pub diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..7e8e5e0 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +ruby-1.9.2-p320 diff --git a/.rvmrc b/.rvmrc deleted file mode 100644 index c0ab85e..0000000 --- a/.rvmrc +++ /dev/null @@ -1 +0,0 @@ -rvm use 1.9.2@private_pub --create From 433d3bf57eed4cefe543f954765f3a9745be4ca4 Mon Sep 17 00:00:00 2001 From: Greg Molnar Date: Tue, 8 Oct 2013 19:33:30 +0200 Subject: [PATCH 2/2] require yaml --- .ruby-version | 2 +- lib/private_pub.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index 7e8e5e0..2811ed4 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-1.9.2-p320 +ruby-1.9.3-p448 \ No newline at end of file diff --git a/lib/private_pub.rb b/lib/private_pub.rb index a595cf8..8fd68f5 100644 --- a/lib/private_pub.rb +++ b/lib/private_pub.rb @@ -4,6 +4,7 @@ require "private_pub/faye_extension" require "private_pub/engine" if defined? Rails +require 'yaml' module PrivatePub class Error < StandardError; end