Open soffes opened 14 years ago
Additionally, treetop and polyglot are incompatible, and cause booting to fail completely, so patches will need to make it upstream to those projects before this plugin itself is compatible.
Odd, how can treetop and polygot affect Rails in any way?
I didn't do deep investigations, but it looked like Polyglots redefine of Kernel#require had something to do with it.
Fails with Rails 3 beta 4. Installed with "gem 'less'" in the Gemfile and ran "bundle install". Tried "rake more:generate" and got error "Don't know how to build task 'more:generate'".
@fortuity: Have a look at less.js. I've got it working nicely with Rails 3 because it doesn't actually use Ruby, and it's very fast. http://github.com/cloudhead/less.js
It seems to be working just fine in Rails 3.0.3 for me. All I did was: Add "gem 'less'" to the gemfile bundle install rails plugin install git://github.com/cloudhead/more.git Then I added a file to config/initializers for the configuration (for stuff like Less::More.source_path). This shouldnt be needed if you're fine with the default configuration.
Check this less-js gem for working with the JS version of Less: https://github.com/thisduck/ruby-less-js
Currently, when you try to install more into a Rails 3 app, you get
If you try to run script server, you get a NameError on the first request. Here's part of the stack: