Search code examples
ruby-on-railsbundlerrefinerycms

Refinery - NoMethodError: undefined method `spec' for nil:NilClass


When I was installing refinery 3.0.0, at the end of the bundle process the error:

NoMethodError: undefined method `spec' for nil:NilClass
An error occurred while installing refinerycms-core (3.0.0), and Bundler cannot continue.

was shown.


Solution

  • The solution was to install the latest version of bundler:

    gem install bundle
    

    I hope it helps