Sha256: 6f1c99a4ac04aa1283d3564fdf12e354a17fea70dd83791de40fb001def762e1

Contents?: true

Size: 796 Bytes

Versions: 10

Compression:

Stored size: 796 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"

# Load `nrser` gem and use refinements if it's available
begin
  require 'nrser'
rescue LoadError => error
  puts "WARN -- Failed to load `nrser` gem."
  puts "WARN -- Add it do your dependencies or edit #{ __FILE__ }"
else
  using NRSER
  using NRSER::Types
end

require '{{ qb_gem_info.name }}'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# Load `pry` if it's available, falling back to `irb`
begin
  require "pry"
rescue LoadError => error
  puts "WARN -- Failed to load `pry` gem."
  puts "WARN -- Add it do your dependencies or edit #{ __FILE__ }"
  puts "INFO -- Starting `IRB`..."
  
  require "irb"
  IRB.start
else
  Pry.start
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
qb-0.3.25 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.24 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.23 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.22 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.21 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.20 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.19 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.18 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.17 roles/qb/ruby/gem/bin_stubs/templates/console
qb-0.3.16 roles/qb/ruby/gem/bin_stubs/templates/console