runfile 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc93feef41d4d15db9d61e5e73c35416153fb0c2
4
- data.tar.gz: bfc258085a6b366dc1a37e75c2ebc1829048910e
3
+ metadata.gz: a59c974be306cd461ad4036d4bfcd13daf6452b1
4
+ data.tar.gz: 86fdcfac60b460d4929f8d96850123a814e5258b
5
5
  SHA512:
6
- metadata.gz: 8a6ee1ec311b90a81e427e4cd0f2293a3023cc26a94c43c0ff7dcdc539fb27f7acef461c21c4e0ac96d91462ffda92fa57e76d5d7c0a5adbc77bb97f33163bc9
7
- data.tar.gz: f1e8f61f957a0033e07d7438db612f81e25261e88954cb2d9ee0596f9fddd9c61b65ffe99601e2c46d6fc137215cfccfeb8ac6dc815100e1c60fa250d98304c0
6
+ metadata.gz: b9e5c10f938bf898b2a67f444ec31f590246bb58e899b72eecf3d70a2766634e9c3f53cd279aa71b976b21a99b47905a484aefe86e2b780bf274ebfc27a24a4e
7
+ data.tar.gz: 69be69306c5343dbe7381291a58ac57b97c3f5a91c329131a3f9075edb254ff43491eb5090e7a4e98f61c028878830c1d4451420dedcdcc46a3973abc96cb512
data/bin/run! CHANGED
@@ -7,4 +7,10 @@ require 'runfile'
7
7
 
8
8
  include Runfile
9
9
 
10
+ # This is needed in cases when you are running "run!" from a folder
11
+ # that contains a Gemfile on a machine with RVM.
12
+ # It will disable attempting to run in the current context
13
+ # Source: https://rvm.io/integration/bundler
14
+ ENV['NOEXEC_DISABLE'] = '1'
15
+
10
16
  Runner.instance.execute ARGV, false
@@ -1,3 +1,3 @@
1
1
  module Runfile
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
data/lib/runfile.rb CHANGED
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env ruby
2
1
  require 'runfile/version'
3
2
  require 'runfile/docopt_helper'
4
3
  require 'runfile/runfile_helper'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-09 00:00:00.000000000 Z
11
+ date: 2015-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole