Skip to content

Commit

Permalink
Renamed variables in "ruby-app" Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinson committed Jan 24, 2015
1 parent a3ca810 commit 92dcbad
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ruby-app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

#- Gemfile ~~
# ~~ (c) SRW, 25 Apr 2013
# ~~ last updated 21 Jan 2015
# ~~ last updated 24 Jan 2015

git_repo = {
git: 'https://github.com/qmachine/qm-ruby.git'
from_dir = {
path: File.join(Dir.pwd, '..', '..', 'src', 'ruby-gem')
}

local_fs = {
path: File.join(Dir.pwd, '..', '..', 'src', 'ruby-gem')
from_git = {
git: 'https://github.com/qmachine/qm-ruby.git'
}

gem 'json'
gem 'qm', (FileTest.directory?(local_fs[:path]) ? local_fs : git_repo)
gem 'qm', (FileTest.directory?(from_dir[:path]) ? from_dir : from_git)

ruby '2.2.0'

Expand Down

0 comments on commit 92dcbad

Please sign in to comment.