diff --git a/bin/run b/bin/run index 4b8a5e6..dad9f6a 100755 --- a/bin/run +++ b/bin/run @@ -1,7 +1,6 @@ #!/usr/bin/env ruby -require_relative '../lib/garden.rb' -require_relative '../lib/plant.rb' +require_relative '../config/environment.rb' lawn = Garden.new(name: 'Front Lawn') diff --git a/config/environment.rb b/config/environment.rb index 068196f..4e7f6b6 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,4 +1,5 @@ # Require statements should go here. - +require_relative '../lib/garden.rb' +require_relative '../lib/plant.rb' # Then any files that need to load the files required here can # require THIS file, environment.rb, and get access to everything \ No newline at end of file