How to auto-install a gem's dependencies?

I have a gem to install an application /hello/ which is dependent on
another gem, which is on my server. What is the simplest way to makek my
gem automatically download and install that other gem?

This is the structure of my gem:
├── Rakefile
├── bin
│ └── hello
├── hello.gemspec
└── lib
└── hello
└── version.rb

The hello.gemspec contains:
spec.add_dependency(‘scriptingutils’,[">= 0.0.4"])

And scriptingutils-0.0.4.gem is on my server:
where the gem itself is in:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs