Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
capistrano-sneakers
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
capistrano-sneakers
Commits
92635405
Commit
92635405
authored
Mar 10, 2015
by
Karl Kloppenborg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed sidekiq task bug
and updated error message.
parent
b2a60259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/capistrano/sneakers.rb
+7
-3
No files found.
lib/capistrano/sneakers.rb
View file @
92635405
require
'capistrano/sneakers/version'
if
Gem
::
Specification
.
find_by_name
(
'capistrano'
).
version
>=
Gem
::
Version
.
new
(
'3.0.0'
)
load
File
.
expand_path
(
'../tasks/sidekiq.cap'
,
__FILE__
)
cap_version
=
Gem
::
Specification
.
find_by_name
(
'capistrano'
).
version
if
cap_version
>=
Gem
::
Version
.
new
(
'3.0.0'
)
#
# Load Tasks from sneakers "cap" file
#
load
File
.
expand_path
(
'../tasks/sneakers.cap'
,
__FILE__
)
else
raise
Gem
::
LoadError
,
'We are Sorry, this gem only for Capistrano3, please install Capistrano3 first.'
raise
Gem
::
LoadError
,
"Capistrano-Sneakers requires capistrano version 3.0.0 or greater, version detected:
#{
cap_version
}
"
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment