Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ruby 1.9.2 fixes

  • Loading branch information...
commit 12c869409a16b777a8d3f2c8485e4c7b7b2c3b05 1 parent 021b23a
@alexch alexch authored
Showing with 7 additions and 4 deletions.
  1. +4 −2 lib/showoff.rb
  2. +3 −2 showoff.gemspec
View
6 lib/showoff.rb
@@ -2,10 +2,12 @@
require 'sinatra/base'
require 'json'
require 'nokogiri'
-require 'showoff_utils'
-require 'princely'
require 'fileutils'
+here = File.expand_path(File.dirname(__FILE__))
+require "#{here}/showoff_utils"
+require "#{here}/princely"
+
begin
require 'RMagick'
rescue LoadError
View
5 showoff.gemspec
@@ -1,4 +1,4 @@
-require 'lib/showoff'
+require './lib/showoff'
Gem::Specification.new do |s|
s.name = "showoff"
s.version = ShowOff::Version
@@ -19,7 +19,8 @@ Gem::Specification.new do |s|
s.add_dependency "bluecloth"
s.add_dependency "nokogiri"
s.add_dependency "json"
- s.add_dependency ("gli",">= 1.2.5")
+ s.add_dependency("gli",">= 1.2.5")
+ s.add_development_dependency "mg"
s.description = <<-desc
ShowOff is a Sinatra web app that reads simple configuration files for a
presentation. It is sort of like a Keynote web app engine. I am using it
Please sign in to comment.
Something went wrong with that request. Please try again.