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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:54:28+00:00 2026-06-14T04:54:28+00:00

I am building a new ruby script using GLI gem that uses Compass within.

  • 0

I am building a new ruby script using GLI gem that uses Compass within. However, whenever I run the app using bundle exec SASS/Compass can never seem to find the mixins that I include in my .scss file. I get the following error…

error: File to import not found or unreadable: compass/css3.

I know the solution is to set an environment variable. However, I have no clue as to which variable needs to be set.

Update:

I should have added that this is a follow up to another post that I had – Using Compass from Ruby (not shell)

Here is the code that I am using to invoke compass from my app.

require 'compass'
require 'sass/plugin'

compiler = Compass::Compiler.new('.','.','.',{:style => :compact})
compiler.compile(sass_file,css_file)

Here is the error that is getting thrown

error: File to import not found or unreadable: compass/css3.

Load path: /Volumes/MacRAID/joeworkman/Desktop/stake-test/Badges/Badges.source/Contents

I originally thought that this only happened when I was running under bundle exec. However, its does happen every time even if I were to run in it normally.

Update #2:

I am pretty certain that this is a SASS :load_paths issue. If I set my SASS_PATH environment variable to the below value everything works. I don’t want to depend on environment variables though.

~/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets

  • 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-14T04:54:30+00:00Added an answer on June 14, 2026 at 4:54 am

    Make sure that you check out the answers on the below post. Between my findings posted here and the suggestions made on the other post, the question is answered.

    Using Compass from Ruby (not shell)

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

Sidebar

Related Questions

I'm building a new web app that has a requirement to generate an internal
I have a basic Ruby app that I am building with Sinatra, Datamapper and
I am building a gem using ruby 1.9.3 and bundler 1.1.3. In my gemspec,
Using Rails, I am building a new wiki system from scratch; however, I am
I'm building a referral program for my Ruby on Rails app, such that a
I'm building a pageview counter for my app using the Garb Ruby wrapper for
I'm currently building a new app based on a legacy database. In the app,
I have been building a new application using my current understanding of domain driven
I'm building a new Intranet Portal with SharePoint 2007 that will have News, Site
I am building my first Ruby on Rails app which is going to be

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.