From 0fb9b21a4e745bd1e6e467d80f5ba05f7d42988c Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Mon, 13 Jan 2014 15:16:46 -0500 Subject: [PATCH] Fix require to include ./ --- src/about_triangle_project_2.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/about_triangle_project_2.rb b/src/about_triangle_project_2.rb index 55dd742..fdeb8db 100644 --- a/src/about_triangle_project_2.rb +++ b/src/about_triangle_project_2.rb @@ -1,7 +1,7 @@ require File.expand_path(File.dirname(__FILE__) + '/neo') # You need to write the triangle method in the file 'triangle.rb' -require 'triangle.rb' +require './triangle.rb' class AboutTriangleProject2 < Neo::Koan # The first assignment did not talk about how to handle errors. @@ -14,4 +14,3 @@ class AboutTriangleProject2 < Neo::Koan # HINT: for tips, see http://stackoverflow.com/questions/3834203/ruby-koan-151-raising-exceptions end end -