See the PLATFORMS section http://bundler.io/v1.3/man/gemfile.5.html
Sent from my Nexus 4. On 4 Jan 2014 22:19, "Lee Hambley" <[email protected]> wrote: > I think your mistake is that with this line of code the gem def doesn't > happen on non Darwin hosts, bundler provides a way to filter gems by > platform. > > Sent from my Nexus 4. > On 4 Jan 2014 22:17, "Jay Thompson" <[email protected]> wrote: > >> Versions: >> >> - Ruby 1.9.3 >> - Capistrano 3.0.1 >> - Rake / Rails / etc rails 3.x >> >> Platform: >> >> - Working on maxos >> - Deploying to. debian or fedora >> >> Logs: >> >> - Please past logs (as completely as possible to a 3rd party pasting >> service such as pastie.org) >> >> ....git checkout and deploy steps and then I get: >> >> EBUG [5f99ef42] You are trying to install in deployment mode after >> changing >> DEBUG [5f99ef42] your Gemfile. Run `bundle install` elsewhere and add >> the >> DEBUG [5f99ef42] updated Gemfile.lock to version control. >> DEBUG [5f99ef42] >> DEBUG [5f99ef42] You have deleted from the Gemfile: >> DEBUG [5f99ef42] * rb-fsevent >> cap aborted! >> bundle stdout: Nothing written >> bundle stderr: Nothing written >> /usr/local/rvm/gems/ruby-1.9.3- >> Files: >> >> - Capfile default >> - deploy.rb default >> - Stage files (production.rb, staging.rb) vanilla >> >> I have the following gemfile line in a test group >> >> >> group :test do >> >> gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~/darwin/i >> >> end >> >> Does somebody advise the appropriate workaround for this situation where >> the conditional seems to create a Gemfile.lck that includes the OSX >> specific gem, and the production server does not require it, and errors on >> the bundle? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Capistrano" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web, visit >> https://groups.google.com/d/msgid/capistrano/45a4bc69-34e2-4efa-abcd-469b3ee3785e%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVQuOn%2BW_hb28urRb1cPQKzVbGJ3Zoe5nSJW66EQyG4AA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
