haml / haml-rails

let your Gemfile do the talking
MIT License
1.04k stars 169 forks source link

Could not find generator haml:application_layout #75

Closed ifalvarez closed 9 years ago

ifalvarez commented 9 years ago

rails generate haml:application_layout convert

Gives this error: Could not find generator haml:application_layout.

serv commented 9 years ago

Hey, which version of haml-rails are you using?

The rails generator was introduced on Version 0.6.0. So previous version will not have the generator.

kkoci commented 9 years ago

Hi, I'm using version 0.7.0, and I got the exact same error, any ideas? I'm on rails v4.2

serv commented 9 years ago

@kkoci are you still having the issue?

I tried to reproduce the issue on Rails 4.2 and ruby 2.1.5p273, but no luck.

Can you do the following and show me what you get for each one.

$ rails -v
$ ruby -v
$ bundle list
kkoci commented 9 years ago

Hi, yes, still have the problem.

rails -v : 4.2.0 ruby -v : 2.0.0p195

bundle list:

Gems included by the bundle:

Any ideas?

sedx commented 9 years ago

same problem with rake tasks :(

kkoci commented 9 years ago

Hello? :( still nothing here

sedx commented 9 years ago

@kkoci I send PR https://github.com/indirect/haml-rails/pull/81 you can try it

derricklannaman commented 9 years ago

Had the same issue. Had to update haml-rails from haml-rails-0.5.3. Then I got error:

There is a version mismatch between the spring client and the server. You should restart the server and make sure to use the same version.

CLIENT: 1.3.0, SERVER: 1.2.0

Stop server. Run spring stop. Restart server.

Rerun rails generate haml:application_layout convert That worked for me

rusikf commented 9 years ago

Everything is works now, just run rails g haml:application_layout

kkoci commented 9 years ago

Awesome! Thank you!

On Fri, May 1, 2015 at 4:39 PM, Ruslan Korolev notifications@github.com wrote:

Everything is works now, just run rails g haml:application_layout

— Reply to this email directly or view it on GitHub https://github.com/indirect/haml-rails/issues/75#issuecomment-98239491.

Kristian Koci Linux User #582221 Website: http://tuespacioweb.com.ve Cel. 0416 202 92 94

http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80