Could not find net-ssh-2.2.2 in any of the sources
(Bundler::GemNotFound)

$ ls -l vendor/cache/net*
-rw-rw-r-- 1 xxx xxx  27136 2012-01-17 08:44 vendor/cache/net-
scp-1.0.4.gem
-rw-rw-r-- 1 xxx xxx  61440 2012-01-17 08:44 vendor/cache/net-
sftp-2.0.5.gem
-rw-rw-r-- 1 xxx xxx 133120 2012-01-17 08:44 vendor/cache/net-
ssh-2.2.2.gem
-rw-rw-r-- 1 xxx xxx  18432 2012-01-17 08:44 vendor/cache/net-ssh-
gateway-1.1.0.gem

I added:

set :bundle_flags, "--deployment --local --without development test"

to deploy.rb and then reran

$ cap deploy

Is tthat correct?  I could not find set :bundle_flags in the
capistrano documentation.

On Jan 17, 6:00 am, Xuan <[email protected]> wrote:
> On 16 ene, 15:54, jsnark <[email protected]> wrote:
>
> > Oops.  Pilot error.
>
> > set :bundle_flags, '--local'
>
> > did not work.
>
> > On Jan 16, 9:43 am, jsnark <[email protected]> wrote:
>
> Usually it looks more like:
> set :bundle_flags, "--deployment --local --without development test"
>
> --deployment has several effects, which you can read at bundler page
> as they are qute a few to write them here, specific to deployment
> environments
> --without avoids installing gems grouped on :development and :test on
> your Gemfile
>
> Anyway, you should post your error messages for further help if this
> doesn't solve them.
>
> Good luck!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to