Skip to content

Update setup.rst #12933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2020
Merged

Update setup.rst #12933

merged 1 commit into from
Sep 9, 2020

Conversation

xlefebure
Copy link
Contributor

No description provided.

@javiereguiluz
Copy link
Member

Xavier, thanks for this contribution. Personally I'm not sure about this change because the version constraint is usually defined next to the dependency ... but let's wait for more opinions.

@xlefebure
Copy link
Contributor Author

Hi,

I tried the command in the documentation but it wasn't work for me.
The new command worked.
Let's see if other people have this problem too.

@@ -251,7 +251,7 @@ create new projects. If you use Composer, you need to tell the exact version:

.. code-block:: terminal

$ composer create-project symfony/website-skeleton:^4.4 my_project_name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is indeed a confusion with the require argument syntax, could you please keep the minor version though?

@javiereguiluz
Copy link
Member

I don't know what to do here:

I've run these two commands and both worked perfectly:

composer create-project symfony/website-skeleton:^4.4 my_project_name

composer create-project symfony/website-skeleton:"^4.4" my_project_name

I'm using macOS. I remember some issues in the past with Windows. @xlefebure maybe you were using Windows when running the command?

@xlefebure
Copy link
Contributor Author

@javiereguiluz Yes, I was on Windows 10 at this moment.

@javiereguiluz
Copy link
Member

Can you try if this command works for you? (note the quotes around the number version):

composer create-project symfony/website-skeleton:"^4.4" my_project_name

@xlefebure
Copy link
Contributor Author

xlefebure commented Mar 20, 2020 via email

@javiereguiluz javiereguiluz added this to the 4.4 milestone Sep 9, 2020
@javiereguiluz javiereguiluz merged commit f0dbf7e into symfony:4.4 Sep 9, 2020
@javiereguiluz
Copy link
Member

Thanks for confirming that the quotes make this problem disappear. We did that change while merging. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants