If you are developing a Rails API only project, you probably aren't using Action Text.
If you are not using Action Text, you shouldn't have to run rails action_text:install
and run migrations like Siyanda have said. The problem probably stems from the fact that you have the line require('rails/all')
in your application.rb
, which includes every Rails dependency including ActiveText. Instead you should only include the dependencies that you need and exclude ActiveText. This way you don't have to deal with all that unnecessary migration stuff.
This Stack Overflow post can be helpful: How to not require "rails/all"?