Skip to content

Instantly share code, notes, and snippets.

@manuelmorales
Created August 24, 2011 16:00
Show Gist options
  • Save manuelmorales/1168391 to your computer and use it in GitHub Desktop.
Save manuelmorales/1168391 to your computer and use it in GitHub Desktop.
Custom Gemfiles
# define your BUNDLE_GEMFILE environment variable
# NOTE: Ubuntu users must use .bashrc instead of .bash_profile
echo "export BUNDLE_GEMFILE=Gemfile.dev" >> ~/.bash_profile
# reload your terminal
source ~/.bash_profile
# install the bundler gem
gem install bundler
# pull the latest changes
git pull origin edge
# copy the custom Gemfile
cp Gemfile.custom.sample Gemfile.custom
# IMPORTANT: Edit that Gemfile.custom to uncomment the line corresponding with the database engine you want.
# install all the gems
bundle install
# Enjoy
@alexdesi
Copy link

Note for ubuntu user: use ~/bashrc instead of ~/.bash_profile

@manuelmorales
Copy link
Author

See line two :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment