Skip to content

Commit

Permalink
ensure Boson starts in all console cases
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed May 30, 2011
1 parent 4e67870 commit aff8ec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .riplrc
@@ -1,6 +1,2 @@
require 'ripl/ripper'
require 'ripl/hirb'
unless ARGV.include?('-f')
require 'boson'
Boson.start
end
2 changes: 2 additions & 0 deletions application.rb
Expand Up @@ -8,7 +8,9 @@
require 'pg'
require 'has_machine_tags'
require 'console_update'
require 'boson'
Dir[APP_ROOT+'/models/*.rb'].each {|e| require e }

config = YAML.load_file('config/database.yml')[ENV['RACK_ENV']]
ActiveRecord::Base.establish_connection config
Boson.start

0 comments on commit aff8ec8

Please sign in to comment.