Skip to content

Commit

Permalink
add rails binstub in dummy test app
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtornow committed Aug 22, 2017
1 parent 14d51d0 commit 9282e35
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/dummy/bin/rails
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'

0 comments on commit 9282e35

Please sign in to comment.