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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:16:28+00:00 2026-06-11T17:16:28+00:00

I am pretty new to the Padrino framework (and ruby in general) and have

  • 0

I am pretty new to the Padrino framework (and ruby in general) and have been looking into using padrino’s built-in support for the LESS CSS preprocessor for a new application I am developing. I decided to fully commit to LESS for this project as I am using Twitter’s Bootstrap framework as a base for my UI.

So my question is, how do I go about using padrino’s LESS support in my workflow, both during development (where I’d want the .less source files to be compiled on the fly and reloaded on every page refresh), and in production (where padrino should be serving a single css file compiled from all the .less source files, which would all be correctly ordered and @imported in a “master” application.less file).

I can see that when I generate a padrino project choosing less as the css preprocessor that I get a “stylesheets” directory in both the /app directory, where I assume the .less files should go, as well as the /public/stylesheets directory where I assume a compiled .css file would sit. What I am unsure of is how do I “define” my LESS assests to padrino and how far does its built-in support go, and how much management will I still have to do manually?

And FYI, my development environment is Mac OSX Lion, and the pow rack server. For production I am still deciding on a host, put am leaning towards heroku.

  • 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-11T17:16:29+00:00Added an answer on June 11, 2026 at 5:16 pm

    You can use LESS with Padrino with a component. See http://www.padrinorb.com/guides/generators

    padrino g project your_project -c less
    

    EDIT: If you want to add LESS to existing application: http://www.padrinorb.com/guides/adding-new-components

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

Sidebar

Related Questions

Im pretty new to Linux in general. Ive just been following this tutorial(http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/) to
Pretty new to Python and have been playing around with lists and the sort
I am pretty new to Git. I am currently using EGIT. I have checked
Pretty new to C++, I have been following the intermediate tutorials at 3DBuzz.com, and
pretty new to using Qt. I have a custom widget that i need to
Pretty new to MVC and the like. I have a class the looks like
I am pretty new to Java, so I may be using incorrect terminology. I
I am pretty new to image capturing using java. Just started working in java.
I'm pretty new to cocos2d development and ran into a problem of getting a
Pretty new here. But before I ask my question, I'm not looking for teh

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.