philosophie/stairs

rake newb not working with rails 4.0.4

Opened this issue · 3 comments

Hello,
on a fresh install of rails 4.0.4 (ruby 2.1.1) I don't have access to a newb task:

rake aborted!
Don't know how to build task 'newb'

rake -T confirms that the task is not registered

@taboularasa Can't reproduce...

$ rails -v
Rails 4.0.4
$ rails new test-app -T -d postgresql
...
$ cd test-app
... add `gem 'stairs', '~> 0.7.0'` to `Gemfile`
$ bundle
$ rake -T | grep newb
rake newb                               # Setup the project

Actually that's not a valid test, I'm using ruby 2.0.0 — will try on 2.1.1

Still unable to reproduce on 2.1.1

$ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
$ rake -T | grep newb
rake newb                               # Setup the project

Anything unique about your project?