Skip to content

Commit

Permalink
Merge pull request #268 from replit/rtm-02-16-ruby-gemfile
Browse files Browse the repository at this point in the history
[ruby] fix ownership of Gemfile template
  • Loading branch information
ryantm authored Feb 16, 2024
2 parents 2d921bc + 65ca195 commit ab840c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,10 @@
"commit": "9e3a33995f94a52e61ae962777e9bcbe6d75885e",
"path": "/nix/store/kfax6rn26vlkgdzznxvw02qg7gcpbsw3-replit-module-ruby-3.1"
},
"ruby-3.1:v9-20240216-98f4cde": {
"commit": "98f4cde081b4f2921b16bea2096c4f32639f37bb",
"path": "/nix/store/7bzxkbsi76ck2c64ilxidgrdwrq5j725-replit-module-ruby-3.1"
},
"rust-1.69:v1-20230525-c48c43c": {
"commit": "c48c43c6c698223ed3ce2abc5a2d708735a77d5b",
"path": "/nix/store/xkp307fdmgwn8dnbqadzlrb8fr0bvkx4-replit-module-rust-1.69"
Expand Down Expand Up @@ -1603,6 +1607,10 @@
"commit": "9e3a33995f94a52e61ae962777e9bcbe6d75885e",
"path": "/nix/store/whpmpscmx65p7bkx1pwbaai3lmjbpww3-replit-module-ruby-3.2"
},
"ruby-3.2:v7-20240216-98f4cde": {
"commit": "98f4cde081b4f2921b16bea2096c4f32639f37bb",
"path": "/nix/store/cag0688y6kq7hsa0s76bhg249ybjaf2d-replit-module-ruby-3.2"
},
"dart-3.1:v1-20231201-3b22c78": {
"commit": "3b22c787fd20b13fe5afb868589c574068303b5e",
"path": "/nix/store/ra46cfdhzrp1gn6rh4l5nnycn3vjv18l-replit-module-dart-3.1"
Expand Down
1 change: 1 addition & 0 deletions pkgs/modules/ruby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ let
text = ''
if ! test -f "''${REPL_HOME}/Gemfile"; then
cp ${initial-gem-file} "''${REPL_HOME}/Gemfile"
chmod u+rw,g+r,o+r "''${REPL_HOME}/Gemfile"
fi
${ruby}/bin/bundle "$@"
'';
Expand Down

0 comments on commit ab840c4

Please sign in to comment.