Installing the Engine
bsbeeks opened this issue · 3 comments
I'm a Ruby newbie and just spent about an hour trying to get the engine installed and running. Everything worked great, but I ran into 2 issues that might be worth updating on your documentation site
- On Step 4. Instead of using this command: "bundle exec rails g locomotive:install" I had to use this command: "rails g locomotive:install"
- Once I got the engine running, the css/js files weren't being generated. I finally figured out that I had to add "config.assets.enabled = true" to my development.rb file. One I did that, the css and js files were generated properly.
I have a problem in both cases, my console just displays the "rails new" usage screen. This is with Ruby 2.0.0 and Rails 3.2.16 that the instructions direct me to use.
Hi @bsbeeks
Hmm...
For the first one, bundle exec
is necessary, as they may have a different version installed globally than in there bundle. Maybe you didn't run bundle install before running the command? I know this is two months late, but if you are doing this again and get an error, please let us know what it was and we'll try to help.
Regarding your second point, well actually config.assets.enabled
is true by default is Rails >3.1, so I'm not sure why it wasn't enabled for you.
@pvencill Again, two months late (Sorry!), but if you are still running into problems, please head over to our Google group and post a new topic with the details and we'll help you out. Thanks! https://groups.google.com/forum/#!forum/locomotivecms
And actually we've updated the docs for installing Engine since this was posted so I'm going to close this, but if you guys still have trouble, come back or head to the Google group. Thanks!