This project is archived and is in readonly mode.
Plugin directory has created unless plugin is exist
-
reys.vasily (at gmail)
I think this is normal behavior. You can run this command with --force option, like so:
$ rails plugin install https://github.com/rails/open_id_authentication.git --forceActually, rails notifies you if trying to install plugin and there is existent directory with the same name in vendor/plugins:
$ rails plugin install open_id_authentication Plugin not found: ["open_id_authentication"]
$ rails plugin install https://github.com/rails/open_id_authentication.git already installed: open_id_authentication (https://github.com/rails/open_id_authentication.git). pass --force to reinstall -
sora_h
Hm, I think that directory has created if plugin not found is bug....
Why I have to type "--force" if i missed repository?
I think that directory hasn't created if plugin not found; It is kinder than current behavior...
-
reys.vasily (at gmail)
Sorry for previous formatting issues, here again:
$ rails plugin install open_id_authentication
Plugin not found: ["open_id_authentication"]
$ rails plugin install https://github.com/rails/open_id_authentication.git
already installed: open_id_authentication (https://github.com/rails/open_id_authentication.git). pass --force to reinstall
-
reys.vasily (at gmail)
hmmm... you're right, sora_h. Maybe rails should check if plugin is available and if so then create directory?
-
sora_h
Ya. I think so. :)
-
Santiago Pastorino
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale