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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:13:55+00:00 2026-06-09T14:13:55+00:00

I am creating first twitter bootstrap application but getting following error in rails 3.2.3

  • 0

I am creating first twitter bootstrap application but getting following error in rails 3.2.3 and ruby 1.8.7

  ActionView::Template::Error (Cannot call method 'charAt' of undefined
  (in /home/likewise-open/RADIXLOCAL/urjit.rajgor/workspace/twitter_bootstrap/app/assets/stylesheets/bootstrap_and_overrides.css.less)):
    11:       <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
    12:     <![endif]-->
    13: 
    14:     <%= stylesheet_link_tag "application"  %>
    15: 
    16:     <link href="images/favicon.ico" rel="shortcut icon">
    17:     <link href="images/apple-touch-icon.png" rel="apple-touch-icon">
   app/views/layouts/application.html.erb:14:in `_app_views_layouts_application_html_erb__1043627680__634423168'
   app/controllers/posts_controller.rb:7:in `index'

My Gemfile


 source 'https://rubygems.org'

 gem 'rails', '3.2.3'
 # Bundle edge Rails instead:
 # gem 'rails', :git => 'git://github.com/rails/rails.git'

 gem 'mysql2'
 gem "execjs"
 gem 'json'
 # Gems used only for assets and not required
 # in production environments by default.
gem "twitter-bootstrap-rails", :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git'
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'less-rails'
  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  gem 'therubyracer', :platform => :ruby
  gem 'uglifier', '>= 1.0.3'

end
gem 'jquery-rails'

application.css


 /*
 * This is a manifest file that'll automatically include all the stylesheets available  in this directory
 * and any sub-directories. You're free to add application-wide styles to this file and  they'll appear at
 * the top of the compiled file, but it's generally better to create a new file per style scope.
 *= require_self
 *= require bootstrap_and_overrides
 *= require_tree
 */

bootstrap_and_overrides.css.less


 @import "twitter/bootstrap/bootstrap";
 body { padding-top: 60px; }

 @import "twitter/bootstrap/responsive";

// Set the correct sprite paths
 @iconSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings.png');
 @iconWhiteSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings-white.png');

 // Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
 @fontAwesomeEotPath: asset-path('fontawesome-webfont.eot');
 @fontAwesomeWoffPath: asset-path('fontawesome-webfont.woff');
 @fontAwesomeTtfPath: asset-path('fontawesome-webfont.ttf');
 @fontAwesomeSvgzPath: asset-path('fontawesome-webfont.svgz');
 @fontAwesomeSvgPath: asset-path('fontawesome-webfont.svg');

// Font Awesome
@import "fontawesome";

Help me.
Thanks.

  • 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-09T14:13:56+00:00Added an answer on June 9, 2026 at 2:13 pm

    Updating to Ruby 1.9.3 fixes it.

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

Sidebar

Related Questions

I'm creating my first ROR application. Details: creating new app -> rails new simple_cms
I'm creating my first API and am using Ruby on Rails. The API will
I'm looking at creating my first ASP.NET MVC application using MVC3. The project template
I'm creating my first android application but it does not start at all. In
I have starting creating my first firefox extension. I am following http://extensions.roachfiend.com/howto_bug.html But seems
I just finished creating my first major application in C#/Silverlight. In the end the
I'm creating my first application and I have a window consisting of multiple subclasses
I'm creating my first Python application (PyGTK) and will use a conf file. In
Just creating my first IntelliJ web application that runs on tomcat. The project ran
So I am creating my first opengl es application on the iphone. I want

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.