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