require in styles.rb
Reported by paul (at 8thlight) | September 7th, 2008 @ 10:07 AM | in Limelight 0.6
Can not organize the styles by the prop idea they are in. I want the styles file to be
require "main_style" and main_style.rb is somewhere in the search path, looking like: main { # some style } I get the error: Exception in thread "main" /Users/paulwpagel/Projects/todont/styles/main_style.rb:1: ./styles.rb:1: undefined method `main' for main:Object ----- ./styles.rb lines 1 - 1 ----- * 1: require File.expand_path(File.dirname(__FILE__) + "/styles/main_style") (Limelight::BuildException) from /Users/paulwpagel/Projects/todont/styles/main_style.rb:27:in `require' from /Users/paulwpagel/Projects/limelight/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from (eval):1:in `load_styles' ...internal jruby stack elided... when I try that now
Comments and changes to this ticket
-
Micah Martin September 8th, 2008 @ 11:02 AM
- Milestone changed from Limelight 0.2 to Limelight 0.3
Let's handle this just like we do in prop files.
__install "style path"
-
Micah Martin November 5th, 2008 @ 01:12 AM
- Milestone changed from Limelight 0.3 to Limelight 0.4
- Tag changed from feature, request to feature_request
-
Micah Martin August 17th, 2009 @ 05:15 PM
- Milestone changed from Limelight 0.4 to Limelight 0.5
-
Micah Martin October 29th, 2009 @ 08:50 PM
- Milestone changed from Limelight 0.5 to Limelight 0.6
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Elegant UI Framework for Ruby