Skip to content

Commit 886869a

Browse files
authored
Merge pull request #317 from SciRuby/application_class
Introduce the new Application classes
2 parents 2d695c9 + e6ba49f commit 886869a

File tree

15 files changed

+986
-407
lines changed

15 files changed

+986
-407
lines changed

bin/iruby

Lines changed: 0 additions & 5 deletions
This file was deleted.

exe/iruby

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#! /usr/bin/env ruby
2+
require "iruby"
3+
require "iruby/application"
4+
5+
app = IRuby::Application.instance
6+
app.setup
7+
app.run

iruby.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Gem::Specification.new do |s|
1111
s.license = 'MIT'
1212

1313
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
14-
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
14+
s.bindir = "exe"
15+
s.executables = %w[iruby]
1516
s.test_files = s.files.grep(%r{^test/})
1617
s.require_paths = %w[lib]
1718
s.extensions = %w[ext/Rakefile]

0 commit comments

Comments
 (0)