Skip to content
Browse files

ensure Boson starts in all console cases

  • Loading branch information...
1 parent 4e67870 commit aff8ec8428d8426300c5e73931e1905bb3dee195 @cldwalker committed May 29, 2011
Showing with 2 additions and 4 deletions.
  1. +0 −4 .riplrc
  2. +2 −0 application.rb
View
4 .riplrc
@@ -1,6 +1,2 @@
require 'ripl/ripper'
require 'ripl/hirb'
-unless ARGV.include?('-f')
- require 'boson'
- Boson.start
-end
View
2 application.rb
@@ -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.
Something went wrong with that request. Please try again.