Apparently Ruby 1.8 doesn't have Proc.source_location

This commit is contained in:
Thomas Reynolds 2013-06-12 17:40:17 -07:00
parent 7d7d5e683e
commit e03362e6f6
4 changed files with 26 additions and 1 deletions

View file

@ -1,3 +1,8 @@
source 'https://rubygems.org'
gem "middleman", "~><%= Middleman::VERSION %>"
# Cross-templating language block fix for Ruby 1.8
platforms :ruby_18 do
gem "ruby18_source_location"
end

View file

@ -8,4 +8,9 @@ gem "middleman", "~><%= Middleman::VERSION %>"
gem "middleman-livereload", "~> 3.1.0"
# For faster file watcher updates:
# gem "wdm", "~> 0.1.0") # Windows
# gem "wdm", "~> 0.1.0") # Windows
# Cross-templating language block fix for Ruby 1.8
platforms :ruby_18 do
gem "ruby18_source_location"
end