Or alternatively use the full path for rake like /usr/bin/rake.
On Sun, Dec 2, 2012 at 12:29 PM, Siteshwar Vashisht wrote:
> Hi,
>
>
>
> You should prefix your command with "command" builtin, so the call would
> look like :
>
>
>
> command rake $argv
>
>
>
> For reference see :
> http://ridic
Hi,
You should prefix your command with "command" builtin, so the call would look
like :
command rake $argv
For reference see :
http://ridiculousfish.com/shell/user_doc/html/commands.html#command
On Sunday 02 Dec 2012 11:45:24 AM Jakub Arnold wrote:
How should I do it when I define a
How should I do it when I define a function which wraps a command and where
I want to call the command from inside the function?
An example of this
function rake
if test -f Rakefile
bundle exec rake $argv
else
rake $argv # this ends up being an infinite loop
end
end
Of course I c