enginex 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/enginex.rb CHANGED
@@ -7,7 +7,7 @@ require "rails/generators"
7
7
  require "rails/generators/rails/app/app_generator"
8
8
 
9
9
  class Enginex < Thor::Group
10
- VERSION = "0.5.3".freeze
10
+ VERSION = "0.5.4".freeze
11
11
 
12
12
  include Thor::Actions
13
13
  check_unknown_options!
@@ -1,7 +1,8 @@
1
- begin
2
- require File.expand_path("../../../../.bundle/environment", __FILE__)
3
- rescue LoadError
4
- require 'rubygems'
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
5
6
  require 'bundler'
6
7
  Bundler.setup
7
8
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
8
+ - 4
9
+ version: 0.5.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Jos\xC3\xA9 Valim"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-11 00:00:00 +02:00
17
+ date: 2010-04-23 00:00:00 +02:00
18
18
  default_executable: enginex
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency