Skip to content

Commit eb1b1a0

Browse files
author
Francesco Rodriguez
committed
use bundle exec rails
1 parent 59f28f8 commit eb1b1a0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/fixtures/engine_project/script/rails

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
ENGINE_ROOT = File.expand_path('../..', __FILE__)
55
ENGINE_PATH = File.expand_path('../../lib/engine_project/engine', __FILE__)
66

7-
require 'rails'
87
require 'rails/all'
98
require 'rails/engine/commands'

test/sass_rails_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,6 @@ class SassRailsTest < Sass::Rails::TestCase
196196
end
197197

198198
def generate_scaffold(args = nil)
199-
runcmd "ruby script/rails generate scaffold foo #{args}"
199+
runcmd "bundle exec rails generate scaffold foo #{args}"
200200
end
201201
end

0 commit comments

Comments
 (0)