forked from saurabh/personal-journal
Update personal_journal.gemspec
This commit is contained in:
parent
d5a6fb612a
commit
1ed81c2fb7
|
@ -4,8 +4,8 @@ $:.push File.expand_path("../lib", __FILE__)
|
||||||
require "personal_journal/version"
|
require "personal_journal/version"
|
||||||
require 'rails'
|
require 'rails'
|
||||||
app_path = File.expand_path(__dir__ + '/..')
|
app_path = File.expand_path(__dir__ + '/..')
|
||||||
template_path = ENV['PWD'] + '/app\templates'
|
template_path = ENV['PWD'] + '/app/templates'
|
||||||
puts Dir.glob('*/')
|
puts Dir.glob(template_path+'/*/')
|
||||||
d = Dir.entries(app_path).select {|entry| File.directory? File.join(app_path,entry) and !(entry =='.' || entry == '..') }
|
d = Dir.entries(app_path).select {|entry| File.directory? File.join(app_path,entry) and !(entry =='.' || entry == '..') }
|
||||||
#puts RAILS_ROOT
|
#puts RAILS_ROOT
|
||||||
#system 'ruby get_rail_path.rb'
|
#system 'ruby get_rail_path.rb'
|
||||||
|
|
Loading…
Reference in New Issue