Skip to content
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

Update composer.json #5

Closed
wants to merge 3 commits into from
Closed

Update composer.json #5

wants to merge 3 commits into from

Conversation

comur
Copy link
Contributor

@comur comur commented Feb 5, 2014

Put 2.25.* instead of dev-master because it does not working for me with dev-master:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for cometcult/braintree-bundle dev-master -> satisfiable by cometcult/braintree-bundle[dev-master].
    - cometcult/braintree-bundle dev-master requires braintree/braintree_php dev-master -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Can OMUR added 2 commits February 5, 2014 14:43
Put 2.25.* instead of dev-master because it does not working with dev-master
Remove bin dir to see if it will resolve installation directory problem
@karolsojko
Copy link
Contributor

@comur dev-master is the current stable release branch so what's the point of fixing on a certain tag ? It would have to be updated once in a while then.

That error in fact occures (if you have a solution for it other then sticking to a tag please supply).
Try to put in you composer.json : "braintree/braintree_php": "dev-master" or running composer require braintree/braintree_php:dev-master before installing cometcult's bundle.

If you know how to fix that in a different manner I would be pleased to know :) Thanks for the PR 👍

@comur
Copy link
Contributor Author

comur commented Feb 5, 2014

Hi @karolsojko ,

I already have "braintree/braintree_php": "dev-master" in my composer.json but dev-master of braintree_php is not stable-enough. I think you can just put * and it gets the latest version in configured minimum-stability because it's impossible to install it on a stable project with this configuration

I change my pull request to *. And i also removed bin config because there is no bin dir.

Anyway, thanks for this bundle, it let me save some time.

@karolsojko
Copy link
Contributor

Hi @comur ,

the build on Travis fails because you removed the bin directory config. It's there to indicate that vendor binaries will be symlinked to "bin" folder (it's created after composer installs). When the vendors are installed then phpspec is runned from bin folder in this case. See composer docs for details. So you need to keep it there :)

Additionally you have 3 commits in this PR - it would be cool if you could squash them into 1 commit. Here are some how to

@comur
Copy link
Contributor Author

comur commented Feb 5, 2014

Ok i close this one, i deleted and reforked.

@comur comur closed this Feb 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants