foundation-rails icon indicating copy to clipboard operation
foundation-rails copied to clipboard

Rails g foundation:install don't work

Open rodscotolo opened this issue 8 years ago • 4 comments

rails g foundation:install
Running via Spring preloader in process 3397
Could not find generator 'foundation:install'. Maybe you meant 'integration_test', 'migration' or 'channel'

when i try: rails generate --help , the generator of foundation not appear.

Tks Rod

rodscotolo avatar May 25 '16 15:05 rodscotolo

Can you pls give more context on the versions used? Have you double checked foundation_rails gem is part of your bundle? spring stop before running it just in case?

mehlah avatar May 25 '16 15:05 mehlah

thanks for answer man!

Yes, my foundation is installed.

When I try gem list my result:

foundation (1.0.4)
foundation-rails (6.2.1.0)

I tried use spring stop and the same error appear

rodscotolo avatar May 25 '16 15:05 rodscotolo

gem list lists gems installed on your machine, not gems used by your Rails app.

Use bundle list | grep foundation-rails to check if foundation-rails gem is used by your app.

Deckluhm avatar Jun 13 '16 22:06 Deckluhm

I too am having this issue in a dummy app in a rails engine I'm trying to set up. Here is my bundle.

Gems included by the bundle:
  * actioncable (5.0.1)
  * actionmailer (5.0.1)
  * actionpack (5.0.1)
  * actionview (5.0.1)
  * activejob (5.0.1)
  * activemodel (5.0.1)
  * activerecord (5.0.1)
  * activesupport (5.0.1)
  * arel (7.1.4)
  * babel-source (5.8.35)
  * babel-transpiler (0.7.0)
  * builder (3.2.3)
  * bundler (1.13.7)
  * concurrent-ruby (1.0.4)
  * erubis (2.7.0)
  * execjs (2.7.0)
  * foundation (1.0.4)
  * foundation-rails (6.3.0.0)
  * globalid (0.3.7)
  * i18n (0.7.0)
  * loofah (2.0.3)
  * mail (2.6.4)
  * method_source (0.8.2)
  * mime-types (3.1)
  * mime-types-data (3.2016.0521)
  * mini_portile2 (2.1.0)
  * minitest (5.10.1)
  * nio4r (1.2.1)
  * nokogiri (1.7.0.1)
  * rack (2.0.1)
  * rack-test (0.6.3)
  * rails (5.0.1)
  * rails-dom-testing (2.0.2)
  * rails-html-sanitizer (1.0.3)
  * railties (5.0.1)
  * rake (12.0.0)
  * sass (3.4.23)
  * sprockets (3.7.1)
  * sprockets-es6 (0.9.2)
  * sprockets-rails (3.2.0)
  * thor (0.19.4)
  * thread_safe (0.3.5)
  * tzinfo (1.2.2)
  * websocket-driver (0.6.4)
  * websocket-extensions (0.1.2)

deejayres avatar Jan 19 '17 04:01 deejayres