Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

get rid of rubygem-bundler as run-time requirement #277

Merged
merged 1 commit into from
Aug 18, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packaging/suse/Portus.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ BuildRequires: ruby-macros >= 5
BuildRequires: apache2
Requires: apache2
Requires: rubygem-passenger-apache2
# We require bundler to start the rails app with passenger
Requires: %{rubygem bundler}
Provides: Portus = %{version}
# javascript engine to build assets
BuildRequires: nodejs
Expand Down Expand Up @@ -81,6 +79,10 @@ APPLICATION_CSS=$(find . -name application-*.css 2>/dev/null)
cp $APPLICATION_CSS public/landing.css

bundle install --retry=3 --local --deployment
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we do.


# install bundler
gem install --install-dir vendor/bundle/ruby/%{rb_ver}/ vendor/cache/bundler-*.gem

rm -rf vendor/cache

if [ -f config/secrets.yml ];then
Expand Down