Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gemspec to exclude unnecessary files #33

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

mriddle
Copy link
Contributor

@mriddle mriddle commented Jan 30, 2020

The next bundled version of the gem will only include the files necessary to run it. Excluding files like the .rubocopy.yml and .travis.yml

It's a nice to have when caching the plugin manually to get around the fact that caching isn't supported for bundler plugins yet.

For folks looking to install and run this plugin from a vendored/cached location while the issues outlined in https://github.com/rubygems/bundler/issues/7152 are resolved, you can do so with gem unpack bootboot -v 0.1.2 --target vendor/plugins/ and

# Gemfile

if ENV['DEPENDENCIES_NEXT']
  Bundler.rubygems.add_to_load_path('vendor/plugins/bootboot-0.1.2/lib')
  load('vendor/plugins/bootboot-0.1.2/plugins.rb')
  enable_dual_booting

  gem 'future'
else
  gem 'present'
end

@mriddle mriddle force-pushed the mriddle-update-gemspec branch from 38f14a9 to a03f93b Compare January 30, 2020 12:26
@mriddle mriddle requested a review from Edouard-chin January 30, 2020 12:27
The next bundled version of the gem will only include the files
necessary to run it. Excluding files like the .rubocopy.yml and
.travis.yml

It's a nice to have when caching the plugin manually to get around the
fact that caching isn't supported for bundler plugins yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants