[LRUG] Bundler and script/generate

Thomas R. Koll tomk32 at gmx.de
Wed Apr 14 04:52:48 PDT 2010


Am 14.04.2010 um 13:47 schrieb Neil Edwards:

> Hey guys,
> Anyone had much experience converting a rails 2.3 app to run using bundler?
> My main problem is running generators. Cucumber-rails is in my Gemfile and they're both getting 'installed' but I can't see the cucumber generator in my script/generate list.

the trick is to run `bundle exec rails generate`
or for a 2.3 possibly `bundle exec ./script/generate`

`bundle pack` might also be of help, a necessary step for me when deploying
in a passenger env

ciao, tom

--
Thomas R. "TomK32" Koll
just a geek trying to change the world
http://ananasblau.com || http://photostre.am || http://photolog.at




More information about the Chat mailing list