This project is archived and is in readonly mode.
Plugin directory has created unless plugin is exist
Reported by sora_h | November 12th, 2010 @ 02:14 AM
I tried at Rails 3.0.1.
$ rails plugin install open_id_authentication
plugin open_id_authentication is not exist, so I ran another command again
$ rails plugin install https://github.com/rails/open_id_authentication.git
but rails command said "Already installed".
I think "RAILS_ROOT/vendor/open_id_authentication" are created by
first command,
but it's empty directory because plugin is not exist. I can install
plugin after removed
"RAILS_ROOT/vendor/open_id_authentication".
Comments and changes to this ticket
-
reys.vasily (at gmail) November 12th, 2010 @ 09:18 AM
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 November 12th, 2010 @ 09:30 AM
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) November 12th, 2010 @ 09:31 AM
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) November 12th, 2010 @ 09:33 AM
hmmm... you're right, sora_h. Maybe rails should check if plugin is available and if so then create directory?
-
Santiago Pastorino February 12th, 2011 @ 07:18 PM
- 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 February 12th, 2011 @ 07:18 PM
- State changed from open to stale
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>