auto_complete icon indicating copy to clipboard operation
auto_complete copied to clipboard

Problem installing

Open hnu opened this issue 15 years ago • 2 comments

Hello, I am trying to install this plugin under rails 3 on a XP system. First I tried "rails plugin install auto_complete", having as result: Plugin not found: ["auto_complete"]. After that I tried "rails plugin install git:github.com/rails/auto_complete.git", having as result: already installed: auto_complete. Finally I tried with he --force option, but I have no results. There are no files in vendor\plugin\auto_complete. So finally I downloaded the 3 files init.rb, auto_complete_macros_helper.rp and auto_complete.rb and copied them in vendor\plugin\auto_complete. Now when I try to run "rails server" I obtain: uninitialized constant Rails::Plugin::Autocomplete (NameError) in the first line of init.rb.

Any clues?

hnu avatar Nov 12 '10 20:11 hnu

Hi... Try installing it as a gem:

Add: gem 'repeated_auto_complete' ... to your Gemfile.

Then run: $ bundle install

Sorry, I haven't tested it on Rails 3 yet, or on Windows. Let me know what happens.

patshaughnessy avatar Nov 12 '10 20:11 patshaughnessy

Hello, thanks for your quick response. I tried installing it as a gem, and apparently it could be installed correctly. How can I be sure if it is installed? When I try to call text_field_with_auto_complete I obtain: undefined method `auto_complete' for #ActionView::Helpers::FormBuilder:0x1920fa8. I don't know if I installed it incorrectly or I am doing something wrong. Thans agian

hnu avatar Nov 12 '10 22:11 hnu