Update personal_journal.gemspec
This commit is contained in:
parent
13d4af2671
commit
1f6f65f651
|
@ -2,8 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|||
|
||||
# Maintain your gem's version:
|
||||
require "personal_journal/version"
|
||||
require File.expand_path('../application', __FILE__)
|
||||
d = Dir.glob("#{Rails.root}/app/templates/*").collect{|temp| temp.split('/').last}-['mobile']
|
||||
d = Dir.entries('/app/templates/').select {|entry| File.directory? File.join('/your_dir',entry) and !(entry =='.' || entry == '..') }
|
||||
puts d
|
||||
# Describe your gem and declare its dependencies:
|
||||
Gem::Specification.new do |s|
|
||||
|
|
Loading…
Reference in New Issue