Skip to content
Snippets Groups Projects
Commit 703992f1 authored by nimrod's avatar nimrod
Browse files

Manage the Ruby Smile environment with direnv and Bundler.

- Declare gems in a Gemfile.
- Run bundle install in .envrc.
- Keep things under ~/Repositories (I don't want Nextcloud to sync
  things).
- Also solves https://github.com/rubygems/rubygems/issues/4603 while I'm
  at it.
parent b2e99189
No related branches found
No related tags found
No related merge requests found
source_up
export AWS_CONFIG_FILE="$HOME/.smile/aws/config"
export AWS_PROFILE=smile-dev-admin
export AWS_DEFAULT_PROFILE="$AWS_PROFILE"
export GEM_HOME="$HOME/Repositories/Smile/.gem"
export GIT_AUTHOR_EMAIL='nimrod@smile.io'
export GIT_AUTHOR_NAME='Nimrod Adar'
export HELM_HOME="$HOME/.smile/helm/dev-sre"
export HELM_TLS_ENABLE="true"
export HELM_TLS_VERIFY="true"
export KUBECONFIG="$HOME/.smile/kube/dev/config"
export PATH="$GEM_HOME/bin:$PATH"
export TILLER_NAMESPACE="applications-tiller"
export VAULT_ADDR="https://vault.smile.aws"
export VAULT_CAPATH="/Volumes/Keybase/team/smile_devs/ca_certs"
/home/nimrod/Repositories/Smile/.envrc
\ No newline at end of file
/home/nimrod/Repositories/Smile/.gem
\ No newline at end of file
/home/nimrod/Repositories/Smile/Gemfile
\ No newline at end of file
/home/nimrod/Repositories/Smile/Gemfile.lock
\ No newline at end of file
/home/nimrod/Documents/Smile/.envrc
\ No newline at end of file
source_up
export AWS_CONFIG_FILE="$HOME/.smile/aws/config"
export AWS_PROFILE=smile-dev-admin
export AWS_DEFAULT_PROFILE="$AWS_PROFILE"
export GEM_HOME="$HOME/Repositories/Smile/.gem"
export GIT_AUTHOR_EMAIL='nimrod@smile.io'
export GIT_AUTHOR_NAME='Nimrod Adar'
export HELM_HOME="$HOME/.smile/helm/dev-sre"
export HELM_TLS_ENABLE="true"
export HELM_TLS_VERIFY="true"
export KUBECONFIG="$HOME/.smile/kube/dev/config"
export PATH="$GEM_HOME/bin:$PATH"
export TILLER_NAMESPACE="applications-tiller"
export VAULT_ADDR="https://vault.smile.aws"
export VAULT_CAPATH="/Volumes/Keybase/team/smile_devs/ca_certs"
bundle install --quiet
source "https://rubygems.pkg.github.com/smile-io" do
gem "smile-cli", "0.6.7"
end
source "https://rubygems.org" do
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment