Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-acts-as-indexed
Commits
eb44992e
Commit
eb44992e
authored
Apr 09, 2018
by
Brice Sanchez
Browse files
Fix bin/rails for Refinery 4
parent
3272ba76
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/rails
View file @
eb44992e
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
# This command will automatically be run when you run "rails" with Rails gems
# installed from the root of your application.
ENGINE_PATH
=
File
.
expand_path
(
'../..'
,
__FILE__
)
load
File
.
expand_path
(
'../../spec/dummy/bin/rails'
,
__FILE__
)
begin
load
File
.
join
(
File
.
expand_path
(
'../../'
,
__FILE__
),
'spec/dummy/bin/rails'
)
rescue
LoadError
=>
load_error
warn
"No dummy Rails application found!
\n
"
\
"To create one in spec/dummy, please run:
\n\n
"
\
" rake refinery:testing:dummy_app"
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment