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

  • Home
  • SEARCH
  • 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 8689219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:35:23+00:00 2026-06-12T23:35:23+00:00

Hi I have a basic devise signup form using twitter bootstrap that I am

  • 0

Hi I have a basic devise signup form using twitter bootstrap that I am trying launch into production. It works fine in development. There is a problem with the bootstrap assets in production.

I have tried it without the group => assets, and the:git => … part but it still does not work.

When I have

config.assets.compile = true

The site loads without the bootstrap styling. when it is set to false, I get an error = We’re sorry, but something went wrong.

this is the gem I am using:

gem 'twitter-bootstrap-rails', :group => :assets, :git => 'http://github.com/seyhunak/twitter-bootstrap-rails.git': 

My production.log:

Processing by HomeController#index as HTML

    Rendered home/index.html.erb within layouts/application (21.8ms)
Compiled bootstrap_and_overrides.css  (916ms)  (pid 31389)
Compiled home.css  (1ms)  (pid 31389)
Compiled application.css  (1209ms)  (pid 31389)
Compiled jquery.js  (5ms)  (pid 31389)
Compiled jquery_ujs.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-transition.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-alert.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-modal.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-dropdown.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-scrollspy.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-tab.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-tooltip.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-popover.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-button.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-collapse.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-carousel.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-typeahead.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap/bootstrap-affix.js  (0ms)  (pid 31389)
Compiled twitter/bootstrap.js  (211ms)  (pid 31389)
Compiled home.js  (136ms)  (pid 31389)
Compiled application.js  (426ms)  (pid 31389)
  Rendered layouts/_navigation.html.erb (1.7ms)
  Rendered layouts/_messages.html.erb (0.4ms)
Completed 200 OK in 5535ms (Views: 5520.6ms | ActiveRecord: 12.9ms)


Started GET "/users/sign_in" for  at 2012-10-15 14:57:24 -0400
Processing by Devise::SessionsController#new as HTML
  Rendered devise/shared/_links.html.erb (2.1ms)
  Rendered devise/sessions/new.html.erb within layouts/application (213.0ms)
  Rendered layouts/_navigation.html.erb (1.7ms)
  Rendered layouts/_messages.html.erb (0.6ms)
Completed 200 OK in 337ms (Views: 295.6ms | ActiveRecord: 11.8ms)


Started GET "/users/sign_in" fo at 2012-10-15 15:38:17 -0400
Processing by Devise::SessionsController#new as HTML
  Rendered devise/shared/_links.html.erb (2.0ms)
  Rendered devise/sessions/new.html.erb within layouts/application (211.1ms)
Compiled bootstrap_and_overrides.css  (871ms)  (pid 415)
Compiled home.css  (1ms)  (pid 415)
Compiled application.css  (1199ms)  (pid 415)
Compiled jquery.js  (5ms)  (pid 415)
Compiled jquery_ujs.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-transition.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-alert.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-modal.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-dropdown.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-scrollspy.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-tab.js  (0ms)  (pid 415)
Compiled twitter/bootstrap/bootstrap-tooltip.js  (0ms)  (pid 415)
"production.log" 755L, 39196C

I’m running a linode ubunto 10.04 lts server, nginx, unicorn and deploying with capistrano

I’ve been trying to solve this issue for a couple of days. Your help is much appreciated. thanks in advance.

  • 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-12T23:35:24+00:00Added an answer on June 12, 2026 at 11:35 pm

    As @Mccannf mentioned in the comments I was not precompilling the public assets.

    When I ran: bundle exec rake assets:precompile

    I got an error:

    /Users/vezu/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /Users/vezu/.rvm/gems/ruby-1.9.3-p194@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
    rake aborted!
    database configuration does not specify adapter

    then I followed this Stackoverflow post: bundle exec rake assets:precompile – database configuration does not specify adapter

    and added the below line in config/application.rb

    config.assets.initialize_on_precompile = false

    then when I deployed to production it worked.

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

Sidebar

Related Questions

I'm using Devise for user authentication and basic authentication. Let's say I have defined
I have a basic PHP form (a few fields and 2 checkboxes, I want
I have a basic web service that returns the following object as JSON: public
I have a basic math question. I am trying to get a percentage from
I have an application that uses multiple user models, each with its own devise
I have a very basic web page that uses flot to create a canvas
I have a couple of basic Rails problems that I'm having trouble finding relevant
I followed the basic steps to add authentication to Rails using Devise from their
I'm using Rails 3 and Devise for authentication. I have a proper working devise
I have an app that uses Devise to do account creation, etc. But I

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.