Method: Spring.gemfile
- Defined in:
- lib/spring/configuration.rb
.gemfile ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/spring/configuration.rb', line 7 def gemfile require "bundler" if /\s1.9.[0-9]/ === Bundler.ruby_scope.gsub(/[\/\s]+/,'') Pathname.new(ENV["BUNDLE_GEMFILE"] || "Gemfile"). else Bundler.default_gemfile end end |