Instrumental Components actually consists of 2 gems:
instrumental-components
This is the "installer" gem, which you use to download, install, and update your version of Instrumental Components.
instrumental-components-library
This is the "components gem", which is the private gem that gets installed into your project and provides you with all of the generator commands for generating and installing components into your project.
First, make sure you have the "installer" gem in your project's gemfile:
gem 'instrumental-components'
Then bundle install:
bundle install
To see whether or not you already have the latest available version of Instrumental Components, run:
instrumental-version
That should either tell you that you have the latest, or there's a new version available.
To make sure you have the latest version of the "components gem" (with all of latest components, fixes and improvements), follow these instructions to update it.
bundle exec install-instrumental
This will check your Rails project to find your license key and email in: .instrumental/license.yml
.
If that file doesn't exist, then it will prompt you to enter your license key and/or email address.
Whenever you run any generator compand from Instrumental Components, one of the first lines you'll see in the terminal output tells you which version you're currently running. You will see something like this (with your current version number):
You're currently using version 0.1.24 of Instrumental Components.
I created Instrumental Components to make designing and building professional apps with Ruby on Rails easy, fast, and fun. I use it on all of my projects and I hope it helps you build something great.