rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.88k stars 2k forks source link

Cross Platform Support #4517

Closed coilysiren closed 7 years ago

coilysiren commented 8 years ago

From: https://github.com/bundler/bundler-features/issues/4

dmitrym0 commented 8 years ago

I develop on Mac and deploy our app via Docker. Unfortunately, I have to get some gems manually. Not a show stopped but certainly not idea. +1 for this feature.

segiddins commented 8 years ago

bundle lock --add-platform should accomplish this?

segiddins commented 8 years ago

@indirect thoughts?

Mehdzor commented 7 years ago

@segiddins It doesn't. Still compiles for current arch only.

Mehdzor commented 7 years ago

This is how my Gemfile looks like:

GEM
  remote: https://rubygems.org/
  specs:
    CFPropertyList (2.3.4)
    activesupport (4.2.7.1)
      i18n (~> 0.7)
      json (~> 1.7, >= 1.7.7)
      minitest (~> 5.1)
      thread_safe (~> 0.3, >= 0.3.4)
      tzinfo (~> 1.1)
    addressable (2.5.0)
      public_suffix (~> 2.0, >= 2.0.2)
    babosa (1.0.2)
    claide (1.0.1)
    colored (1.2)
    commander (4.4.1)
      highline (~> 1.7.2)
    domain_name (0.5.20161129)
      unf (>= 0.0.5, < 1.0.0)
    dotenv (2.1.1)
    excon (0.54.0)
    faraday (0.10.0)
      multipart-post (>= 1.2, < 3)
    faraday-cookie_jar (0.0.6)
      faraday (>= 0.7.4)
      http-cookie (~> 1.0.0)
    faraday_middleware (0.10.1)
      faraday (>= 0.7.4, < 1.0)
    fastimage (2.0.1)
      addressable (~> 2)
    fastlane (2.1.1)
      activesupport (< 5)
      addressable (>= 2.3, < 3.0.0)
      babosa (>= 1.0.2, < 2.0.0)
      bundler (~> 1.12)
      colored
      commander (>= 4.4.0, < 5.0.0)
      dotenv (>= 2.1.1, < 3.0.0)
      excon (>= 0.45.0, < 1.0.0)
      faraday (~> 0.9)
      faraday-cookie_jar (~> 0.0.6)
      faraday_middleware (~> 0.9)
      fastimage (>= 1.6)
      gh_inspector (>= 1.0.1, < 2.0.0)
      google-api-client (~> 0.9.1)
      highline (>= 1.7.2, < 2.0.0)
      json (< 3.0.0)
      mini_magick (~> 4.5.1)
      multi_json
      multi_xml (~> 0.5)
      multipart-post (~> 2.0.0)
      plist (>= 3.1.0, < 4.0.0)
      rubyzip (>= 1.1.0, < 2.0.0)
      security (= 0.1.3)
      slack-notifier (>= 1.3, < 2.0.0)
      terminal-notifier (>= 1.6.2, < 2.0.0)
      terminal-table (>= 1.4.5, < 2.0.0)
      word_wrap (~> 1.0.0)
      xcodeproj (>= 0.20, < 2.0.0)
      xcpretty (>= 0.2.4, < 1.0.0)
      xcpretty-travis-formatter (>= 0.0.3)
    gh_inspector (1.0.2)
    google-api-client (0.9.20)
      addressable (~> 2.3)
      googleauth (~> 0.5)
      httpclient (~> 2.7)
      hurley (~> 0.1)
      memoist (~> 0.11)
      mime-types (>= 1.6)
      representable (~> 2.3.0)
      retriable (~> 2.0)
    googleauth (0.5.1)
      faraday (~> 0.9)
      jwt (~> 1.4)
      logging (~> 2.0)
      memoist (~> 0.12)
      multi_json (~> 1.11)
      os (~> 0.9)
      signet (~> 0.7)
    highline (1.7.8)
    http-cookie (1.0.3)
      domain_name (~> 0.5)
    httpclient (2.8.3)
    hurley (0.2)
    i18n (0.7.0)
    json (1.8.3)
    jwt (1.5.6)
    little-plugger (1.1.4)
    logging (2.1.0)
      little-plugger (~> 1.1)
      multi_json (~> 1.10)
    memoist (0.15.0)
    mime-types (3.1)
      mime-types-data (~> 3.2015)
    mime-types-data (3.2016.0521)
    mini_magick (4.5.1)
    minitest (5.10.1)
    multi_json (1.12.1)
    multi_xml (0.6.0)
    multipart-post (2.0.0)
    nanaimo (0.2.3)
    os (0.9.6)
    plist (3.2.0)
    public_suffix (2.0.4)
    representable (2.3.0)
      uber (~> 0.0.7)
    retriable (2.1.0)
    rouge (1.11.1)
    rubyzip (1.2.0)
    security (0.1.3)
    signet (0.7.3)
      addressable (~> 2.3)
      faraday (~> 0.9)
      jwt (~> 1.5)
      multi_json (~> 1.10)
    slack-notifier (1.5.1)
    terminal-notifier (1.7.1)
    terminal-table (1.7.3)
      unicode-display_width (~> 1.1.1)
    thread_safe (0.3.5)
    tzinfo (1.2.2)
      thread_safe (~> 0.1)
    uber (0.0.15)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.7.2)
    unicode-display_width (1.1.2)
    word_wrap (1.0.0)
    xcodeproj (1.4.1)
      CFPropertyList (~> 2.3.3)
      activesupport (>= 3)
      claide (>= 1.0.1, < 2.0)
      colored (~> 1.2)
      nanaimo (~> 0.2.0)
    xcpretty (0.2.4)
      rouge (~> 1.8)
    xcpretty-travis-formatter (0.0.4)
      xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
  ruby
  x86_64-darwin-16
  x86_64-linux
DEPENDENCIES
  fastlane
BUNDLED WITH
   1.13.0

But all extensions are compiled for x86_64-linux.

segiddins commented 7 years ago

@Mehdzor please try with the latest bundler version and open a new issue if you're still having trouble

Mehdzor commented 7 years ago

@segiddins You mean 14.3? I was trying with 14.2. Just the gemfile was created with an early version.

segiddins commented 7 years ago

As I said, please open a new issue with the details requested in https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md if you'd like us to investigate a bug

indirect commented 7 years ago

Closing this as "seems to be implemented, now".