Skip to content

Instantly share code, notes, and snippets.

@gnufied
Created November 17, 2008 13:49
Show Gist options
  • Save gnufied/25765 to your computer and use it in GitHub Desktop.
Save gnufied/25765 to your computer and use it in GitHub Desktop.
RAILS_GEM_VERSION = '2.2.1' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
config.load_paths += %W(#{RAILS_ROOT}/vendor/sentry/lib)
config.gem "rubyinxs"
config.gem "money"
config.time_zone = 'UTC'
config.action_controller.session = {
:session_key => '_msf_rails_session',
:secret => '4c4420d94eb63279c3083881c2099471603d2ff7d8c042baea9242a056c0c3e4'
}
puts "Done running the block"
end
puts "running outside code"
require "msf_settings"
require "msf_core_ext"
require "msf_load_libs"
MSF::LoadLibs.load_lib_files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment