developwithpassion / devtools

53 stars 22 forks source link

$'\r': command not found #2

Open maulikpokiya opened 10 years ago

maulikpokiya commented 10 years ago

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()

developwithpassion commented 10 years ago

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

maulikpokiya commented 10 years ago

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

developwithpassion commented 10 years ago

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

kkoci commented 9 years ago

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 commented 9 years ago

Oh and don't forget, install Cygwin 32bit