Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issue with not using bundler gems

  • Loading branch information...
commit 539030dc7011bb52d9d0aa9311cab0ecd9fd761a 1 parent 7fbc1c6
@MrJaba authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 config.ru
View
11 config.ru
@@ -1,3 +1,14 @@
+begin
+ # Require the preresolved locked set of gems.
+ require ::File.expand_path('../.bundle/environment', __FILE__)
+rescue LoadError
+ # Fallback on doing the resolve at runtime.
+ require "rubygems"
+ require "bundler"
+ Bundler.setup
+end
+
+
#Framework initialization
require 'rubygems'
require 'usher'
Please sign in to comment.
Something went wrong with that request. Please try again.