Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
issenn committed Apr 24, 2019
1 parent a10b43b commit 1eb0813
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vars/withRbenv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def call(Map parameters = [:], String version = '2.6.3', String method = null, C
} catch(Exception ex) {
println(ex)
} finally {
sh "rm -rf $HOME/.${metarunner}/versions/system"
sh "rm -rf $HOME/.${metarunner}/versions/${version}/gemsets"
// sh "rm -rf $HOME/.${metarunner}/versions/system"
// sh "rm -rf $HOME/.${metarunner}/versions/${version}/gemsets"
sh "${metarunner} rehash"
}
}
Expand All @@ -62,8 +62,8 @@ def installRbenv(String metarunner, String default_ruby_version) {
} catch(Exception ex) {
println(ex)
} finally {
sh "rm -rf $HOME/.${metarunner}/versions/system"
sh "rm -rf $HOME/.${metarunner}/versions/${default_ruby_version}/gemsets"
// sh "rm -rf $HOME/.${metarunner}/versions/system"
// sh "rm -rf $HOME/.${metarunner}/versions/${default_ruby_version}/gemsets"
sh "${metarunner} global ${default_ruby_version}"
sh "${metarunner} rehash"
}
Expand Down

0 comments on commit 1eb0813

Please sign in to comment.