daf5ae8e4b
Among other fixes, this addresses the Rails security advisory from 5/31/2012: http://groups.google.com/group/rubyonrails-security/browse_thread/thread/7546a238e1962f59 http://groups.google.com/group/rubyonrails-security/browse_thread/thread/f1203e3376acec0f Thanks Joe and Trevor! Squashed commit of the following: commitd7031cebccAuthor: Joe Vennix <Joe_Vennix@rapid7.com> Date: Thu May 31 16:57:29 2012 -0500 Update activerecord in gemcache to support rails 3.2.4. [#30507689] commitc7369f6d66Author: Joe Vennix <Joe_Vennix@rapid7.com> Date: Thu May 31 16:53:01 2012 -0500 Bump rails version.
15 lines
296 B
Ruby
Executable File
15 lines
296 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
original_file=ARGV[0]
|
|
ARGV.shift
|
|
$PROGRAM_NAME=original_file
|
|
|
|
require 'rubygems'
|
|
begin
|
|
require 'rubygems-bundler/noexec'
|
|
rescue LoadError
|
|
warn "unable to load rubygems-bundler/noexec" if ENV.key?('NOEXEC_DEBUG')
|
|
end
|
|
|
|
eval File.read(original_file), binding, original_file
|