Update personal_journal.gemspec

This commit is contained in:
chiu 2019-08-21 11:10:49 +08:00
parent 22d4e32ca4
commit 481122ecf9
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 = ENV['RAILS_ENV'] || 'production'
rails_root = ENV['RAILS_ROOT'] || '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 == '..') }