Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class HerokuEnvironment
- def create_proc
- require 'rubygems'
- require 'activerecord'
- Proc.new {}
- end
- end
- begin
- eval("puts ActiveRecord::Base")
- rescue
- puts $!
- end
- eval("puts ActiveRecord::Base", HerokuEnvironment.new.create_proc)
Add Comment
Please, Sign In to add comment