jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

undefined method `add_project_configuration' for Compass:Module #14

Closed rbq closed 13 years ago

rbq commented 14 years ago
$ serve create serve && cd serve && serve
~/Development/Test/serve/config.ru:16: undefined method `add_project_configuration' for Compass:Module (NoMethodError)
        from ~/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/builder.rb:46:in `instance_eval'
        from ~/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/builder.rb:46:in `initialize'
        from ~/Development/Test/serve/config.ru:1:in `new'
        from ~/Development/Test/serve/config.ru:1
$ compass version
Compass 0.10.6
jlong commented 13 years ago

Very strange. It totally works for me with Compass 0.10.6. Can you debug a little? Create an empty gemset and try again?

rbq commented 13 years ago

You're right, it's working like a charm using a fresh gemset.

$ gem list

*** LOCAL GEMS ***

activesupport (3.0.3)
compass (0.10.6)
haml (3.0.24)
i18n (0.4.2)
rack (1.2.1)
serve (1.0.0)
tzinfo (0.3.23)
jlong commented 13 years ago

Were you able to identify the rogue gem?

yourcelf commented 13 years ago

I had this problem too... the offending gem for me was an older compass, "chriseppstein-compass 0.8.17".

adamstac commented 13 years ago

John should we consider this issue as closed, or are you leaving this open for reference to closer at the issue of conflicting gems?

jlong commented 13 years ago

Yup. Let's close it.