File tree 7 files changed +7
-6
lines changed
main/ruby/jruby/rack/rails
7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
## 1.2.3
2
2
3
+ - Adds basic compatibility with JRuby 10.0
3
4
- update (bundled) rack to 2.2.13
4
5
- Corrects Rack 2.x compatibility when used with modern Rails, and requires Rack 2.x going forward
5
6
- forward ports all 1.1.x fixes to the 1.2.x stream which were omitted in 1.2.2 release (#262 )
Original file line number Diff line number Diff line change 3
3
# Set up gems listed in the Gemfile.
4
4
ENV [ 'BUNDLE_GEMFILE' ] ||= File . expand_path ( '../../Gemfile' , __FILE__ )
5
5
6
- require 'bundler/setup' if File . exists ?( ENV [ 'BUNDLE_GEMFILE' ] )
6
+ require 'bundler/setup' if File . exist ?( ENV [ 'BUNDLE_GEMFILE' ] )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ module Rescue
38
38
def render_optional_error_file ( status_code ) #:nodoc:
39
39
status = interpret_status ( status_code )
40
40
path = "#{ PUBLIC_ROOT } /#{ status [ 0 , 3 ] } .html"
41
- if File . exists ?( path )
41
+ if File . exist ?( path )
42
42
render :file => path , :status => status
43
43
else
44
44
head status
Original file line number Diff line number Diff line change 3
3
# Set up gems listed in the Gemfile.
4
4
ENV [ 'BUNDLE_GEMFILE' ] = File . expand_path ( '../../Gemfile' , __FILE__ )
5
5
6
- require 'bundler/setup' if File . exists ?( ENV [ 'BUNDLE_GEMFILE' ] )
6
+ require 'bundler/setup' if File . exist ?( ENV [ 'BUNDLE_GEMFILE' ] )
Original file line number Diff line number Diff line change 3
3
# Set up gems listed in the Gemfile.
4
4
ENV [ 'BUNDLE_GEMFILE' ] = File . expand_path ( '../../Gemfile' , __FILE__ )
5
5
6
- require 'bundler/setup' if File . exists ?( ENV [ 'BUNDLE_GEMFILE' ] )
6
+ require 'bundler/setup' if File . exist ?( ENV [ 'BUNDLE_GEMFILE' ] )
Original file line number Diff line number Diff line change 3
3
# Set up gems listed in the Gemfile.
4
4
ENV [ 'BUNDLE_GEMFILE' ] = File . expand_path ( '../../Gemfile' , __FILE__ )
5
5
6
- require 'bundler/setup' if File . exists ?( ENV [ 'BUNDLE_GEMFILE' ] )
6
+ require 'bundler/setup' if File . exist ?( ENV [ 'BUNDLE_GEMFILE' ] )
Original file line number Diff line number Diff line change 1
1
# Set up gems listed in the Gemfile.
2
2
ENV [ 'BUNDLE_GEMFILE' ] = File . expand_path ( '../../Gemfile' , __FILE__ )
3
3
4
- require 'bundler/setup' if File . exists ?( ENV [ 'BUNDLE_GEMFILE' ] )
4
+ require 'bundler/setup' if File . exist ?( ENV [ 'BUNDLE_GEMFILE' ] )
You can’t perform that action at this time.
0 commit comments