joshua.paling
joshua.paling

Reputation: 13952

How to install capistrano gem, version 3

I'm trying to learn capistrano for my first Rails project. After finding conflicing advice between the website and other online info, I realised version 3 had recently been released, and it's not backward compatible.

So, I've uninstalled v2, and am trying to install v3 via the command mentioned on the website:

gem install capistrano --pre --trust-policy HighSecurity

But I get:

ERROR:  While executing gem ... (Gem::Exception)
Unsigned gem

Ironically, the website says that if I get that error for some other gem:

Then please complain to your Gem author, and have them start signing their Gems.

So, what should I do? Is it safe to install capistrano without the --trust-policy flag? Or would I be better off just using version 2 for now and waiting for the dust to settle before using version three? Thanks in advance.

Upvotes: 1

Views: 4240

Answers (1)

Rajarshi Das
Rajarshi Das

Reputation: 12330

Please try In Gemfile
gem "capistrano", "~> 3.0.0.pre14"
or
gem install capistrano -v 3.0.0.pre14

Better to use 2.15.5 as it is stable and not a pre version but If you want it any how to use 3, then just do what I say in above

Thanks

Upvotes: 3

Related Questions