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 8873655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:31:07+00:00 2026-06-14T18:31:07+00:00

I am having rails3 application which running fine in my local ubuntu machine. I

  • 0

I am having rails3 application which running fine in my local ubuntu machine. I deployed my application using capistrano-unicorn to remote server via copy. The remote server is also having a same configuration which I had in local machine like

rvm 1.16.17
ruby 1.9.3p286
Rails 3.2.8
less 2.2.2
less-rails 2.2.6
less-rails-bootstrap 2.2.0

My Gemfile

group :assets do
  gem 'less-rails-bootstrap'
  gem 'therubyracer'
  gem 'uglifier'
end

I am getting an error

Less::Error in User/home#index Cannot call method ‘charAt’ of
undefined (in
/home/user/rails_app_development/releases/20121102052832/app/assets/stylesheets/layout.css.less)

Where I am doing wrong here?

  • 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-14T18:31:08+00:00Added an answer on June 14, 2026 at 6:31 pm

    This error appeared in our project too. It happened because we had only the mixins.less imported, but not the variables.less of twitter bootstrap.

    Importing variables.less right before the mixins.less solved the problem like magic.

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

Sidebar

Related Questions

I'm using rubber to deploy a rails application and am having trouble connecting to
Preview : I am using juggernaut chat server .I am having redis and juggernaut
I`m having a problem with search query in Rails 3 application using Mongoid. My
In my rails application I am having users module which is dependent on roles
I'm having trouble with CoffeeScript in my first Rails application. I'm using the waitForImages
I am attempting to deploy a Rails application (which works fine in development) onto
I am writing a simple Rails3 application running in a sub URL that works
I've got a Ruby on Rails app running with Bootstrap, which I installed using
I am working on JRuby on Rails Application having JRuby-1.6.7 and Rails 3.2.2 I
I am having a problem with structuring rails application. Let's say that I have

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.