Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
06659f7f
Commit
06659f7f
authored
Dec 25, 2015
by
Satoshi Ohmori
Browse files
Support bundler
parent
f558a460
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/rails/rails.plugin.zsh
View file @
06659f7f
...
...
@@ -13,6 +13,8 @@ function _rails_command () {
function
_rake_command
()
{
if
[
-e
"bin/rake"
]
;
then
bin/rake
$@
elif
type
bundle &> /dev/null
&&
[
-e
"Gemfile"
]
;
then
bundle
exec
rake
$@
else
command
rake
$@
fi
...
...
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