config.gem "web-app-theme", :lib => "web_app_theme", :version =>
'0.5.0', :source => "http://gemcutter.org"
you MUST include the ":lib => 'web_app_theme'" bit. Otherwise you'll
see something like this:
no such file to load -- web-app-theme
It's a bit confusing if you've already installed the gem. But rails
is looking for lib/web-app-theme.rb in the gem source, which doesn't
exist. Using ":lib => 'web_app_theme'" tells rails to look for lib/
web_app_theme.rb, which exists.
HTH,
/g
--
George Anderson
BenevolentCode LLC
I think we don't need to add web-app-theme as a dependency, since is
not used at runtime from rails, but only as generator during
development.
If installed as gem, generators are visible from all rails
project..what do you think?
> It's a bit confusing if you've already installed the gem. But rails
> is looking for lib/web-app-theme.rb in the gem source, which doesn't
> exist. Using ":lib => 'web_app_theme'" tells rails to look for lib/
> web_app_theme.rb, which exists.
>
> HTH,
>
> /g
>
> --
>
> George Anderson
>
> BenevolentCode LLC
>
--
Andrea Franz
http://gravityblast.com
Thanks,
/g
--
George Anderson
BenevolentCode, LLC
Understood, so it's better to add this in the README file, it's very
useful. Feel free to write what you want and send me a pull request on
github ;)