I get an error message. When I run it again, it gives plugin already
installed message. I have a model class with email field and when I run
the
unit test it fails saying that it does not recognize
validates_email_format_of call in my model class. Am I missing something
here? Why is not recognizing the installed plugin?
I get an error message. When I run it again, it gives plugin already
installed message. I have a model class with email field and when I run the
unit test it fails saying that it does not recognize
validates_email_format_of call in my model class. Am I missing something
here? Why is not recognizing the installed plugin?
… because it’s not installed !!
If you check your vendor/plugins directory, you’ll notice that the
plugin was not installed but that an empty directory was created.
That’s why you get an error the 2nd time you try and intall it. You
must either manually delete the empty directory, or use the install
–force option.
It installed the plugin successfully. I found this tip in James A.s
Plugins book. I also looked at the test directory of the plugin and did
the
same assert in my unit test.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.