Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8942363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:29:44+00:00 2026-06-15T11:29:44+00:00

Yesterday, everything worked fine. You can see my previous Gemfile here . Then, I

  • 0

Yesterday, everything worked fine. You can see my previous Gemfile here.

Then, I added some groups like you can see here.

Since then, I got this message:

Exiting
/Users/adrien/code/adserver/backoffice/config/initializers/airbrake.rb:1:in `<top (required)>': uninitialized constant Airbrake (NameError)

[AirbrakeFullStackTrace]

As I couldn’t figure out why I met this behavior and I was stuck, I tried to require airbrake in the corresponding initializer. I relaunched the server and I got the message:

Exiting
/Users/adrien/code/adserver/backoffice/config/initializers/devise.rb:4:in `<top (required)>': uninitialized constant Devise (NameError)

[DeviseFullStackTrace]

Like the error with Airbrake, I required devise in the initializer file and relaunched the server. I got this:

Exiting
/Users/adrien/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/dynamic_matchers.rb:50:in `method_missing': undefined local variable or method `acts_as_sane_tree' for #<Class:0x007fd3363593f8> (NameError)

[ActsAsSaneTreeFullStackTrace]

I required acs_as_sane_tree in my model file, relaunched the server and now, it works.

Does anybody can tell me what am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:29:46+00:00Added an answer on June 15, 2026 at 11:29 am

    Sorry for having bored people. I just got it. For those who play with groups in Gemfile, here is the thing to know and remember.

    In config/application.rb, you can find the following instruction:

    Bundler.require *Rails.groups(:assets) if defined?(Bundler)
    

    You have to tell Bundler to include any exotic group you added in your Gemfile. So, in my case, that gave us:

    Bundler.require *Rails.groups(:assets, :rails, :frontoffice) if defined?(Bundler)
    

    Some help found on the Bundler site, Using Groups.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Until yesterday everything was fine to my localhost, but starting yesterday, localhost is not
I installed xcode 4.3.1 yesterday and everything seemed to work fine. I was able
I installed Jenkins yesterday (together with apache2). Jenkins started fine and everything was ok.
we needed to convert CVS to GIT yesterday. Everything went fine except that I
Yesterday I wrote some code to pull a collection of products. This code worked
Yesterday I noticed problem with my application. Everything was fine, but now something is
Yesterday everything works fine, but today I got many errors when I start my
I had started the Rails app yesterday and got everything working. Then today I
Everything was working perfectly fine in Xcode 3 yesterday before I upgraded. So I
Until yesterday everything was normal but today i try to lauch my application using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.