template/bin/console in pliny-0.2.1 vs template/bin/console in pliny-0.3.0
- old
+ new
@@ -1,9 +1,7 @@
#!/usr/bin/env ruby
-require "bundler"
-Bundler.require
-require "./lib/initializer"
+require_relative '../lib/application'
def basic_prompt(target_self, nest_level, pry)
# override CONSOLE_BANNER to include something like a release identifier
nesting = nest_level.zero? ? "" : ":#{nest_level}"
"[#{pry.input_array.size}] #{console_prefix}(#{Pry.view_clip(target_self)})#{nesting}"