From 5cd0622d880bdd8e20c26ad9e15ef8d2b28adc0c Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 21 Aug 2019 13:20:02 +0800 Subject: [PATCH] Update personal_journal.gemspec --- personal_journal.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/personal_journal.gemspec b/personal_journal.gemspec index b393bba..a1583bf 100644 --- a/personal_journal.gemspec +++ b/personal_journal.gemspec @@ -4,7 +4,7 @@ $:.push File.expand_path("../lib", __FILE__) require "personal_journal/version" require 'rails' app_path = File.expand_path(__dir__ + '/..') -puts [ENV , 'none',app_path,RAILS_ROOT] +puts [ENV , 'none',app_path,Rails.root] d = Dir.entries(app_path).select {|entry| File.directory? File.join(app_path,entry) and !(entry =='.' || entry == '..') } #puts RAILS_ROOT