torquebox-lite 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/torquebox-lite CHANGED
@@ -73,6 +73,13 @@ class TorqueBoxLiteCommand < Thor
73
73
  end
74
74
  home.full_gem_path if home
75
75
  rescue Exception => e
76
+ # User may be using Bundler in standalone mode or something else
77
+ # funky so fall back to searching the load path
78
+ $:.each do |path|
79
+ if path =~ /^(.+torquebox-lite-.+?)\/lib$/
80
+ return $1
81
+ end
82
+ end
76
83
  nil
77
84
  end
78
85
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-lite
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - The TorqueBox Team
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-09-13 00:00:00 -04:00
13
+ date: 2012-09-21 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency