rails-5-api-tutorial icon indicating copy to clipboard operation
rails-5-api-tutorial copied to clipboard

env: ruby\r: No such file or directory

Open SylarRuby opened this issue 9 years ago • 0 comments

Step 1:

git clone https://github.com/rails/rails.git
cd rails/
bundle install

Step 2:

bundle exec railties/exe/rails new ../demo --edge --dev --api

Error:

env: ruby\r: No such file or directory

Which ruby?

/Users/sylar/.rvm/rubies/ruby-2.2.3/bin/ruby

SylarRuby avatar Feb 07 '16 06:02 SylarRuby