René's URL Explorer Experiment


Title: Ability to run ruby_bundle without gemfile_lock attribute · Issue #129 · bazelruby/rules_ruby · GitHub

Open Graph Title: Ability to run ruby_bundle without gemfile_lock attribute · Issue #129 · bazelruby/rules_ruby

X Title: Ability to run ruby_bundle without gemfile_lock attribute · Issue #129 · bazelruby/rules_ruby

Description: Currently when running a ruby_bundle without the gemfile_lock attribute results in the following error ERROR: An error occurred during the fetch of repository 'vagrant_bundle': Traceback (most recent call last): File "/private/var/tmp/_b...

Open Graph Description: Currently when running a ruby_bundle without the gemfile_lock attribute results in the following error ERROR: An error occurred during the fetch of repository 'vagrant_bundle': Traceback (most rece...

X Description: Currently when running a ruby_bundle without the gemfile_lock attribute results in the following error ERROR: An error occurred during the fetch of repository 'vagrant_bundle': Traceback (m...

Opengraph URL: https://github.com/bazelruby/rules_ruby/issues/129

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ability to run ruby_bundle without gemfile_lock attribute","articleBody":"Currently when running a `ruby_bundle` without the `gemfile_lock` attribute results in the following error\r\n\r\n```\r\nERROR: An error occurred during the fetch of repository 'vagrant_bundle':\r\n   Traceback (most recent call last):\r\n\tFile \"/private/var/tmp/_bazel_maarten/8c4bfcd606c4d7b95cf418885251b08c/external/bazelruby_rules_ruby/ruby/private/bundle/def.bzl\", line 198, column 28, in _ruby_bundle_impl\r\n\t\tresult = bundle_install(runtime_ctx, result)\r\n\tFile \"/private/var/tmp/_bazel_maarten/8c4bfcd606c4d7b95cf418885251b08c/external/bazelruby_rules_ruby/ruby/private/bundle/def.bzl\", line 138, column 13, in bundle_install\r\n\t\tfail(\"bundle install failed: %s%s\" % (result.stdout, result.stderr))\r\nError in fail: bundle install failed: The deployment setting requires a Gemfile.lock. Please make sure you have\r\nchecked your Gemfile.lock into version control before deploying\r\n```\r\n\r\nThe documentation (https://github.com/bazelruby/rules_ruby#54-ruby_bundle) suggests that it's possible to run `ruby_bundle` without passing the `gemfile_lock` attribute. This is backed-up by the conditional in the code which checks for the presence of the `gemfile_lock` attribute https://github.com/bazelruby/rules_ruby/blob/master/ruby/private/bundle/def.bzl#L125-L126.\r\n\r\nThe problem is that the `set_bundler_config` hardcodes the deployment and frozen settings to true (https://github.com/bazelruby/rules_ruby/blob/master/ruby/private/bundle/def.bzl#L56-L58) which enforces that any bundle install command requires a Gemfile.lock file.\r\n\r\nDisabling these settings as follows seems to help in the case of no Gemfile.lock:\r\n```starlark\r\n    bundler_config = {\r\n        # \"deployment\": \"false\",\r\n        \"standalone\": \"true\",\r\n        \"force\": \"false\",\r\n        \"redownload\": \"false\",\r\n        # \"frozen\": \"true\",\r\n        \"path\": BUNDLE_PATH,\r\n        \"jobs\": \"20\",\r\n        \"shebang\": runtime_ctx.interpreter,\r\n    }\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/mvgijssel","@type":"Person","name":"mvgijssel"},"datePublished":"2022-04-10T06:08:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/129/rules_ruby/issues/129"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b8e0a7ec-c56e-ecc6-3070-1503db0673ed
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDB92:239A7F:581913F:778E597:6973305E
html-safe-nonce166382a846ae20d822ea4bf75c2757315050b837d9aaf5946845abcbbf9a3fdc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjkyOjIzOUE3Rjo1ODE5MTNGOjc3OEU1OTc6Njk3MzMwNUUiLCJ2aXNpdG9yX2lkIjoiMjYzNDk0NTc5NDg2Njg4NDcwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaceb22e25e15abb65a5014628afc942b40ad619fa4d99d23d19785b99459cb2555
hovercard-subject-tagissue:1198897875
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bazelruby/rules_ruby/129/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c325153dfb117105e0364002e46669a4b8b0a1ad1d199c0cfaf013f4aa13778b/bazelruby/rules_ruby/issues/129
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c325153dfb117105e0364002e46669a4b8b0a1ad1d199c0cfaf013f4aa13778b/bazelruby/rules_ruby/issues/129
og:image:altCurrently when running a ruby_bundle without the gemfile_lock attribute results in the following error ERROR: An error occurred during the fetch of repository 'vagrant_bundle': Traceback (most rece...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemvgijssel
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/bazelruby/rules_ruby git https://github.com/bazelruby/rules_ruby.git
octolytics-dimension-user_id57414752
octolytics-dimension-user_loginbazelruby
octolytics-dimension-repository_id220572018
octolytics-dimension-repository_nwobazelruby/rules_ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id220572018
octolytics-dimension-repository_network_root_nwobazelruby/rules_ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues/129#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbazelruby%2Frules_ruby%2Fissues%2F129
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbazelruby%2Frules_ruby%2Fissues%2F129
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=bazelruby%2Frules_ruby
Reloadhttps://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues/129
Reloadhttps://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues/129
Reloadhttps://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues/129
bazelruby https://patch-diff.githubusercontent.com/bazelruby
rules_rubyhttps://patch-diff.githubusercontent.com/bazelruby/rules_ruby
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbazelruby%2Frules_ruby
Fork 32 https://patch-diff.githubusercontent.com/login?return_to=%2Fbazelruby%2Frules_ruby
Star 99 https://patch-diff.githubusercontent.com/login?return_to=%2Fbazelruby%2Frules_ruby
Code https://patch-diff.githubusercontent.com/bazelruby/rules_ruby
Issues 18 https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues
Pull requests 5 https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/pulls
Discussions https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/discussions
Actions https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/actions
Projects 0 https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/projects
Wiki https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/wiki
Security 0 https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/security
Insights https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/pulse
Code https://patch-diff.githubusercontent.com/bazelruby/rules_ruby
Issues https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues
Pull requests https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/pulls
Discussions https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/discussions
Actions https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/actions
Projects https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/projects
Wiki https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/wiki
Security https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/security
Insights https://patch-diff.githubusercontent.com/bazelruby/rules_ruby/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/bazelruby/rules_ruby/issues/129
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/bazelruby/rules_ruby/issues/129
Ability to run ruby_bundle without gemfile_lock attributehttps://patch-diff.githubusercontent.com/bazelruby/rules_ruby/issues/129#top
https://github.com/mvgijssel
https://github.com/mvgijssel
mvgijsselhttps://github.com/mvgijssel
on Apr 10, 2022https://github.com/bazelruby/rules_ruby/issues/129#issue-1198897875
https://github.com/bazelruby/rules_ruby#54-ruby_bundlehttps://github.com/bazelruby/rules_ruby#54-ruby_bundle
https://github.com/bazelruby/rules_ruby/blob/master/ruby/private/bundle/def.bzl#L125-L126https://github.com/bazelruby/rules_ruby/blob/master/ruby/private/bundle/def.bzl#L125-L126
https://github.com/bazelruby/rules_ruby/blob/master/ruby/private/bundle/def.bzl#L56-L58https://github.com/bazelruby/rules_ruby/blob/master/ruby/private/bundle/def.bzl#L56-L58
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.