简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM