I'm creating a custom gem (
sample_gem
sample project
vendor/sample_gem
sample_project
bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Could not find gem 'sample_gem (= 0.0.1) ruby' in source at ./vendor/sample_gem.
Source does not contain any versions of 'sample_gem (= 0.0.1) ruby'
Do fix thine sequence with the following:
Let's assume that sample_gem
custom gem is resided in the /home/user/git/sample_gem folder, and bunlder
is already installed.
Create a rails project;
Add to its Gemfile the following line:
gem 'sample_gem', path => '/home/user/git/sample_gem'
Issue bundling with:
$ bundle install
NOTE: If thine sample_gem
gem requires active_console
gem, the last shell be specified in the Gemfile of the sample_gem
gem.