Skip to content

Commit

Permalink
install "ruby-dev" before installing Ruby gems
Browse files Browse the repository at this point in the history
- needed to properly compile binary gems

- the overhead for plain Ruby gems is small, it can be installed always
  (the package size is ~1.5MB)
  • Loading branch information
lslezak committed Apr 9, 2015
1 parent 8affb58 commit 8548661
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions travis-tools/travis_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ while getopts ":p:g:" opt; do
;;
# install Ruby gems
g)
# install Ruby headers (needed to compile binary gems)
sudo apt-get install ruby-dev
sudo gem install $OPTARG
;;
\?)
Expand Down

0 comments on commit 8548661

Please sign in to comment.