Compare commits
1 commit
0b59a74cf6
...
921bfd73cc
| Author | SHA1 | Date | |
|---|---|---|---|
| 921bfd73cc |
2 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
if ENV['RAILS_ENV']
|
if ENV['RACK_ENV']
|
||||||
set :environment, ENV['RAILS_ENV']
|
set :environment, ENV['RACK_ENV']
|
||||||
end
|
end
|
||||||
|
|
||||||
set :output, 'vedia.log'
|
set :output, 'vedia.log'
|
||||||
|
|
|
||||||
4
vedia.rb
4
vedia.rb
|
|
@ -10,6 +10,10 @@ require 'redcarpet'
|
||||||
|
|
||||||
include GetText
|
include GetText
|
||||||
|
|
||||||
|
if ENV['RAILS_ENV']
|
||||||
|
set :environment, ENV['RAILS_ENV']
|
||||||
|
end
|
||||||
|
|
||||||
require_relative 'mj'
|
require_relative 'mj'
|
||||||
require_relative 'config/environments/defaults.rb'
|
require_relative 'config/environments/defaults.rb'
|
||||||
require_relative "config/environments/#{settings.environment}"
|
require_relative "config/environments/#{settings.environment}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue