Upgraded teaspoon 0.9.1 to teaspoon-jasmine 2.3.4. After running rails generate teaspoon:install getting "Error: uninitialized constant Teaspoon::Framework." error
[WARNING] Could not load generator "generators/teaspoon/install/install_generator". Error: uninitialized constant Teaspoon::Framework.
I am using jasmine framework. Any idea why is it throwing Framework error?
I found that this happened when my
Gemfileonly loadedteaspoonfor the:testenvironment, but I ranrails generateimplicitly in the:developmentenvironment.You can either make sure the
gem 'teaspoon'(orgem 'teaspoon-jasmine') line is part of the Rails:developmentenvironment, or you can try running: