Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

when build project set ENV["RACK_ENV"] = "production"

  • Loading branch information...
commit 1db7526e3fad551d5c31da96c190feae2c65540a 1 parent 4227d53
@tka tka authored
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/compile_version.rb
  2. +2 −0  src/ui/tray.rb
View
4 src/compile_version.rb
@@ -1,5 +1,5 @@
module CompileVersion
- REVISION = 'bcfc3f16b2'
- COMPILE_TIME = '201206251535'
+ REVISION = '4227d53667'
+ COMPILE_TIME = '201206251628'
UPDATE_URL = ''
end
View
2  src/ui/tray.rb
@@ -347,6 +347,7 @@ def write_dynamaic_file(release_dir, request_path )
def build_project_handler
Swt::Widgets::Listener.impl do |method, evt|
+ ENV["RACK_ENV"] = "production"
App.try do
project_path = File.expand_path(Compass.configuration.project_path)
@@ -451,6 +452,7 @@ def build_project_handler
end_build_project=Time.now
report_window.append "Done!"
end
+ ENV["RACK_ENV"] = "development"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.