yydeMacBook-Air% mkdir projectsrails*
yydeMacBook-Air% cd projectsrails*
yydeMacBook-Air% rails new demo --skip-test-unit*
Your user account isn't allowed to install to the system Rubygems. You can cancel this installation and run:
bundle install --path vendor/bundle
to install the gems into ./vendor/bundle/, or you can enter your password and install the bundled gems to Rubygems using sudo.
Password:
Using mime-types 3.1
An error occurred while installing byebug (9.0.6), and Bundler cannot continue.
Make sure that gem install byebug -v '9.0.6'
succeeds before bundling.
run bundle exec spring binstub --all
bundler: command not found: spring
Install missing gem executables with bundle install
因为之前对后端程序不是很了解,所以到现在我不敢轻举妄动,因为盲点比较多,怕越弄越糊涂。希望高人指点。