forked from saurabh/personal-journal
Update personal_journal.gemspec
This commit is contained in:
parent
f280b5e6b6
commit
4c8d54f86c
|
@ -3,8 +3,9 @@ $:.push File.expand_path("../lib", __FILE__)
|
||||||
# Maintain your gem's version:
|
# Maintain your gem's version:
|
||||||
require "personal_journal/version"
|
require "personal_journal/version"
|
||||||
require 'rails'
|
require 'rails'
|
||||||
puts [ENV['all_root'] , 'none']
|
|
||||||
app_path = File.expand_path(__dir__ + '/..')
|
app_path = File.expand_path(__dir__ + '/..')
|
||||||
|
puts [ENV , 'none',app_path,RAILS_ROOT]
|
||||||
|
|
||||||
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