Skip to content

Commit

Permalink
Fix creation of development app
Browse files Browse the repository at this point in the history
  • Loading branch information
ahukkanen committed Feb 6, 2019
1 parent 9b6fc0f commit 8e6da99
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

source "https://rubygems.org"

require_relative "lib/decidim/antivirus/version"

ruby RUBY_VERSION

# Inside the development app, the relative require has to be one level up, as
# the Gemfile is copied to the development_app folder (almost) as is.
base_path = ""
base_path = "../" if File.basename(__dir__) == "development_app"
require_relative "#{base_path}lib/decidim/antivirus/version"

gem "decidim", Decidim::Antivirus::DECIDIM_VERSION
gem "decidim-antivirus", path: "."

Expand Down

0 comments on commit 8e6da99

Please sign in to comment.