uninitialized constant Cucumber::Rails::Database (NameError) cucumber + mongoid

后端 未结 1 1809
無奈伤痛
無奈伤痛 2021-01-24 05:40

Hi guys I am newbie with cucumber and I have a app with mongoid.

I have database_cleaner in my Gemfile

gem \"database_cleaner\", \">=         


        
相关标签:
1条回答
  • 2021-01-24 06:37

    I had a similar issue to this and I believe its RVM that is causing the problem.

    Basically its the dependencies Ruby is compiled against; using rvm notes

    sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev
    
    0 讨论(0)
提交回复
热议问题