`rails plugin install` does not work (3.0.4)

Hi experts,

I recently moved to Rails 3.0.4, and tried doing ‘rails plugin install
https://github.com/parasew/acts_as_tree.git’, but vendor/plugins/ is
empty.

I tried with the --force option, but the plugin still does not get
installed.

Am I missing something here?

Best,
Radhesh

Hi Radhesh,

I had the same problem. This is how I got it fixed:

  • first, just in case, upgrade to rails 3.0.5 (as root):
  • gem update
  • gem update --system
  • as root (not sure this is necessary, but it installed a missing
    gem):
  • gem install dynamic_form

Then in my rails application I reinstalled the bundle (bundle install)
and after that “plugin” option started to show in rails and

rails plugin install git://github.com/rails/dynamic_form.git

was successful.

Best regards,

Kristjan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs