Navigation Menu

Skip to content

Commit

Permalink
Install latest Rroonga from repository always, for master
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 8, 2015
1 parent 5eda93c commit 9e84ba6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Expand Up @@ -215,6 +215,9 @@ install_rroonga_master() {
}

install_rroonga() {
install_rroonga_master
return

if exist_command grndump; then
local current_version=$(grndump -v | cut -d " " -f 2)
local version_matcher=$(cat $NAME.gemspec | \
Expand All @@ -227,8 +230,7 @@ install_rroonga() {
local compare_result=$(ruby -e "puts('$current_version' $operator '$compared_version')")
if [ "$compare_result" = "true" ]; then return 0; fi
fi
# gem install rroonga --no-ri --no-rdoc
install_rroonga_master
gem install rroonga --no-ri --no-rdoc
}

install_from_repository() {
Expand Down

0 comments on commit 9e84ba6

Please sign in to comment.