Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

'less-rails' required in Gemfile #2

Closed
erikdahlstrand opened this Issue · 7 comments

8 participants

@erikdahlstrand

less-rails is not pulled in automatically... I get:

.rbenv/versions/1.9.3-rc1/lib/ruby/gems/1.9.1/gems/railties-3.1.1.rc1/lib/rails/railtie/configuration.rb:78:in `method_missing': undefined method `less' for #<Rails::Application::Configuration:0x007f83d253f388> (NoMethodError)

If I add "gem 'less-rails'" before "gem 'less-rails-bootstrap'" it works.

@edwallitt

yes...true for me too. Fixed by adding

gem 'less-rails'

@fwuensche

Solved by adding gem 'therubyracer' to gemfile.

@metaskills
Owner

Yup, you have to add that or the rhino alternative if you are on JRuby. Hence no specific dep for cross platform alternatives.

@SumitMunot

Thanks, Nice it's work for me.

@nozpheratu

No dice.

@gtcarlos

less-rails works for me, thanks!

@adhithyan15

I needed to add both less-rails and therubyracer to get it resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.