devtools icon indicating copy to clipboard operation
devtools copied to clipboard

$'\r': command not found

Open maulikpokiya opened this issue 10 years ago • 5 comments

while running following command, ./osx_or_cygwin_kick_off

complete error is as follows: $ ./osx_or_cygwin_kick_off ./osx_or_cygwin_kick_off: line 2: $'\r': command not found ./osx_or_cygwin_kick_off: line 3: syntax error near unexpected token $'\r'' '/osx_or_cygwin_kick_off: line 3:install_rvm()

maulikpokiya avatar Aug 07 '14 18:08 maulikpokiya

Hey Maulik,

Which platform are you running this on?

JP On 08/07, Maulik Pokiya wrote:

while running following command, ./osx_or_cygwin_kick_off

complete error is as follows: $ ./osx_or_cygwin_kick_off ./osx_or_cygwin_kick_off: line 2: $'\r': command not found ./osx_or_cygwin_kick_off: line 3: syntax error near unexpected token $'\r'' '/osx_or_cygwin_kick_off: line 3:install_rvm()


Reply to this email directly or view it on GitHub: https://github.com/developwithpassion/devtools/issues/2

developwithpassion avatar Aug 16 '14 06:08 developwithpassion

Hi, I'm running it on Windows 7. 64 bit.

maulikpokiya avatar Aug 16 '14 15:08 maulikpokiya

Hey Maulik,

Did you consider just setting up a vagrant instance and running your unix dev stack on a native unix based os?

JP On 08/16, Maulik Pokiya wrote:

Hi, I'm running it on Windows 7. 64 bit.


Reply to this email directly or view it on GitHub: https://github.com/developwithpassion/devtools/issues/2#issuecomment-52396467

developwithpassion avatar Aug 20 '14 20:08 developwithpassion

Hi maulikpokiya if you cloned this on Cygwin, please run dos2unix.exe and convert any interesting file to Unix like format, it'll solve your problem!

kkoci avatar Aug 12 '15 18:08 kkoci

Oh and don't forget, install Cygwin 32bit

kkoci avatar Aug 12 '15 18:08 kkoci