forked from saurabh/personal-journal
Update personal_journal.gemspec
This commit is contained in:
parent
c815143805
commit
22d4e32ca4
|
@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
||||||
|
|
||||||
# Maintain your gem's version:
|
# Maintain your gem's version:
|
||||||
require "personal_journal/version"
|
require "personal_journal/version"
|
||||||
rails_root = `pwd`.gsub("\n", "")
|
rails_root = ENV['RAILS_ENV'] || 'production'
|
||||||
app_path = File.expand_path(File.dirname(__FILE__) + '/..')
|
app_path = File.expand_path(File.dirname(__FILE__) + '/..')
|
||||||
puts rails_root
|
puts rails_root
|
||||||
d = Dir.entries('/').select {|entry| File.directory? File.join('/',entry) and !(entry =='.' || entry == '..') }
|
d = Dir.entries('/').select {|entry| File.directory? File.join('/',entry) and !(entry =='.' || entry == '..') }
|
||||||
|
|
Loading…
Reference in New Issue