mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-15 00:01:39 -04:00
Conventionally `bin` folder is home to scripts that are meant to be run by developers working on the project, whereas the `exe` folder is used for executables that are meant to be exported by the gem. The guidance from the Bundler team around this has been live since 2015: https://bundler.io/blog/2015/03/20/moving-bins-to-exe.html This PR simplifies the gemspec and updates the `bin` folder to `exe` in the gemspec and removes some of the unnecessarily cleanup that was introduced previously.
17 lines
300 B
Ruby
Executable File
17 lines
300 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
# frozen_string_literal: true
|
|
|
|
require "irb"
|
|
require "irb/completion"
|
|
|
|
require "#{File.dirname(__FILE__)}/../lib/stripe"
|
|
|
|
# Config IRB to enable --simple-prompt and auto indent
|
|
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
|
IRB.conf[:AUTO_INDENT] = true
|
|
|
|
puts "Loaded gem 'stripe'"
|
|
|
|
IRB.start
|