Created
August 29, 2010 23:05
-
-
Save sporkd/556792 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempt 1 (require comes first) | |
--------------------------------- | |
### lib/html5-boilerplate.rb ### | |
require File.join(File.dirname(__FILE__), 'app', 'helpers', 'html5_boilerplate_helper') | |
Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..") | |
Stack Trace: | |
/Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/html5-boilerplate-0.1.6/lib/html5-boilerplate.rb:1: syntax error, unexpected tCONSTANT, expecting $end (SyntaxError) | |
Compass::Frameworks.register("html5-... | |
... ^ | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `rescue in require' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:31:in `require' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/configuration/data.rb:95:in `require' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/global_options_parser.rb:12:in `block in set_global_options' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1308:in `call' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1308:in `block in parse_in_order' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1264:in `catch' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1264:in `parse_in_order' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1258:in `order!' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1349:in `permute!' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1370:in `parse!' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/switch_ui.rb:43:in `parse!' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/switch_ui.rb:13:in `initialize' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/bin/compass:26:in `new' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/bin/compass:26:in `<top (required)>' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/bin/compass:19:in `load' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/bin/compass:19:in `<main>' | |
Attempt 2 (framework call comes first) | |
-------------------------------------------- | |
### lib/html5-boilerplate.rb ### | |
Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..") | |
require File.join(File.dirname(__FILE__), 'app', 'helpers', 'html5_boilerplate_helper') | |
/Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/html5-boilerplate-0.1.6/lib/html5-boilerplate.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end (SyntaxError) | |
require File.join(File.dirname(__FIL... | |
... ^ | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `rescue in require' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:31:in `require' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/configuration/data.rb:95:in `require' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/global_options_parser.rb:12:in `block in set_global_options' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1308:in `call' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1308:in `block in parse_in_order' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1264:in `catch' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1264:in `parse_in_order' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1258:in `order!' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1349:in `permute!' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1370:in `parse!' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/switch_ui.rb:43:in `parse!' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/switch_ui.rb:13:in `initialize' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/bin/compass:26:in `new' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/bin/compass:26:in `<top (required)>' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/bin/compass:19:in `load' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/bin/compass:19:in `<main>' | |
Attempt 3 (require some other library instead) | |
------------------------------------------------ | |
### lib/html5-boilerplate.rb ### | |
require 'thor' | |
Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..") | |
/Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/html5-boilerplate-0.1.6/lib/html5-boilerplate.rb:1: syntax error, unexpected tCONSTANT, expecting $end (SyntaxError) | |
Compass::Frameworks.register("html5-... | |
^ | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `rescue in require' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/custom_require.rb:31:in `require' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/configuration/data.rb:95:in `require' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/global_options_parser.rb:12:in `block in set_global_options' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1308:in `call' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1308:in `block in parse_in_order' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1264:in `catch' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1264:in `parse_in_order' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1258:in `order!' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1349:in `permute!' | |
from /Users/peter/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/optparse.rb:1370:in `parse!' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/switch_ui.rb:43:in `parse!' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/lib/compass/exec/switch_ui.rb:13:in `initialize' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/bin/compass:26:in `new' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/gems/compass-0.10.4/bin/compass:26:in `<top (required)>' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/bin/compass:19:in `load' | |
from /Users/peter/.rvm/gems/ruby-1.9.2-head@html5/bin/compass:19:in `<main>' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment