8000 Pass gemfile full path to Rails generator · stephancom/activeadmin@7b7a2bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b7a2bf

Browse files
Pass gemfile full path to Rails generator
1 parent 56979df commit 7b7a2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/application_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def generate
2929

3030
command = ['bundle', 'exec', 'rails', 'new', app_dir, *args].join(' ')
3131

32-
env = { 'BUNDLE_GEMFILE' => gemfile_from_env, 'RAILS_ENV' => rails_env }
32+
env = { 'BUNDLE_GEMFILE' => expanded_gemfile, 'RAILS_ENV' => rails_env }
3333

3434
Bundler.with_original_env { abort unless Kernel.system(env, command) }
3535
end

0 commit comments

Comments
 (0)
0