Browse Source

Use custom OpenSSL instead of system lib

Aeris 2 years ago
parent
commit
e17e793070
3 changed files with 8 additions and 4 deletions
  1. 5
    1
      bin/rails
  2. 3
    0
      config.ru
  3. 0
    3
      config/application.rb

+ 5
- 1
bin/rails View File

@@ -1,6 +1,10 @@
1 1
 #!/usr/bin/env ruby
2
+$:.unshift File.expand_path File.join File.dirname(__FILE__), '../../cryptcheck/lib'
3
+require 'rubygems'
4
+require 'bundler/setup'
5
+
2 6
 begin
3
-  load File.expand_path("../spring", __FILE__)
7
+  load File.expand_path('../spring', __FILE__)
4 8
 rescue LoadError
5 9
 end
6 10
 APP_PATH = File.expand_path('../../config/application', __FILE__)

+ 3
- 0
config.ru View File

@@ -1,4 +1,7 @@
1 1
 # This file is used by Rack-based servers to start the application.
2
+$:.unshift File.expand_path File.join File.dirname(__FILE__), '../../cryptcheck/lib'
3
+require 'rubygems'
4
+require 'bundler/setup'
2 5
 
3 6
 require ::File.expand_path('../config/environment', __FILE__)
4 7
 run Rails.application

+ 0
- 3
config/application.rb View File

@@ -13,9 +13,6 @@ require File.expand_path('../boot', __FILE__)
13 13
 	end
14 14
 end
15 15
 
16
-
17
-
18
-
19 16
 # Require the gems listed in Gemfile, including any gems
20 17
 # you've limited to :test, :development, or :production.
21 18
 groups = Rails.groups

Loading…
Cancel
Save