lib/bivouac/template/application/postamble.rb in bivouac-0.2.3 vs lib/bivouac/template/application/postamble.rb in bivouac-0.2.4
- old
+ new
@@ -145,12 +145,10 @@
<%= @conf.appname %>::Models::Base.establish_connection database_connection
<%= @conf.appname %>.create if <%= @conf.appname %>.respond_to? :create
require 'irb'
require 'irb/completion'
- if File.exists? ".irbrc"
- ENV['IRBRC'] = ".irbrc"
- end
+ ENV['IRBRC'] = DIRNAME + "/console.rc"
IRB.start
end
end
while ARGV.size > 0