I am trying to check less.js for a new project. I am 100% sure that the javascript file loads fine, but I keep getting this error in a smaller file, which is in my css folder. I am going to compile it using less.app before I run it, but I would prefer less.js to do this during development. Is there a problem with this, preventing the browser from accessing the file, as it doesn't matter or something else? Thanks (works ubuntu 11.04 and ruby v1.9.2, same error in firefox and chrome)
Here is my head.haml file where I link to less.js and app.less (which are in the correct folders)
%link{:rel => "stylesheet/less", :type=>"text/css", :href => "/assets/css/app.less"} %script{:src => "/assets/js/less-1.1.3.min.js", :type => "text/javascript"}
Here is the error I get in the browser when I open app.less
LoadError at /assets/css/app.less no such file to load -- less (in /home/blake/biddrr/assets/css/app.less) Ruby /home/blake/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb: in require, line 239 Web GET localhost/assets/css/app.less
source share