Update personal_journal.gemspec

This commit is contained in:
chiu 2019-08-21 11:09:29 +08:00
parent c815143805
commit 22d4e32ca4
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "personal_journal/version"
rails_root = `pwd`.gsub("\n", "")
rails_root = ENV['RAILS_ENV'] || 'production'
app_path = File.expand_path(File.dirname(__FILE__) + '/..')
puts rails_root
d = Dir.entries('/').select {|entry| File.directory? File.join('/',entry) and !(entry =='.' || entry == '..') }