Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'less-rails' required in Gemfile #2

Closed
erikdahlstrand opened this issue Sep 28, 2011 · 7 comments
Closed

'less-rails' required in Gemfile #2

erikdahlstrand opened this issue Sep 28, 2011 · 7 comments

Comments

@erikdahlstrand
Copy link

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
Copy link

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

gem 'less-rails'

@fwuensche
Copy link

Solved by adding gem 'therubyracer' to gemfile.

@metaskills
Copy link
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
Copy link

Thanks, Nice it's work for me.

@nozpheratu
Copy link

No dice.

@gtcarlos
Copy link

less-rails works for me, thanks!

@adhithyan15
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants