thin_service 0.0.2 → 0.0.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.
data/CHANGELOG.md ADDED
@@ -0,0 +1,2 @@
1
+ # 0.0.3
2
+ * Use ruby path from service install instead of global Path
data/bin/thin_service CHANGED
@@ -4,8 +4,12 @@
4
4
  if ARGV.first == "start"
5
5
  ARGV.shift
6
6
  ARGV = ["exec", "thin", "start"] + ARGV
7
-
7
+
8
8
  Dir.chdir( ARGV[ARGV.index("-c")+1] )
9
+
10
+ # use same ruby for bundle exec, in case global path is different
11
+ ENV["Path"] = RbConfig::CONFIG['bindir'] + ';' + ENV["Path"]
12
+
9
13
  version = "> 0"
10
14
  gem 'bundler', version
11
15
  load Gem.bin_path('bundler', 'bundle', version)
@@ -1,3 +1,3 @@
1
1
  module ThinService
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-13 00:00:00.000000000 Z
12
+ date: 2012-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &19620084 !ruby/object:Gem::Requirement
16
+ requirement: &21809220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *19620084
24
+ version_requirements: *21809220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &19922724 !ruby/object:Gem::Requirement
27
+ requirement: &21808860 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *19922724
35
+ version_requirements: *21808860
36
36
  description: Runs Thin as a Windows Service - based on mongrel_service
37
37
  email:
38
38
  - gsmedley@kanayo.com
@@ -42,6 +42,7 @@ extensions: []
42
42
  extra_rdoc_files: []
43
43
  files:
44
44
  - .gitignore
45
+ - CHANGELOG.md
45
46
  - Gemfile
46
47
  - LICENSE
47
48
  - README.md