Update personal_journal.gemspec

This commit is contained in:
chiu 2019-08-21 13:49:08 +08:00
parent 38030d09ab
commit d5a6fb612a
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ $:.push File.expand_path("../lib", __FILE__)
require "personal_journal/version"
require 'rails'
app_path = File.expand_path(__dir__ + '/..')
puts ENV['PWD']
template_path = ENV['PWD'] + '/app\templates'
puts Dir.glob('*/')
d = Dir.entries(app_path).select {|entry| File.directory? File.join(app_path,entry) and !(entry =='.' || entry == '..') }
#puts RAILS_ROOT
#system 'ruby get_rail_path.rb'