Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gigadoc 2
diaspora
Commits
ab79758f
Unverified
Commit
ab79758f
authored
Jan 20, 2017
by
Benjamin Neff
Committed by
Dennis Schubert
Feb 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update spring binstub
closes #7287
parent
b910c173
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
bin/spring
bin/spring
+4
-3
No files found.
bin/spring
View file @
ab79758f
...
...
@@ -7,9 +7,10 @@ unless defined?(Spring)
require
'rubygems'
require
'bundler'
if
(
match
=
Bundler
.
default_lockfile
.
read
.
match
(
/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m
))
Gem
.
paths
=
{
'GEM_PATH'
=>
[
Bundler
.
bundle_path
.
to_s
,
*
Gem
.
path
].
uniq
}
gem
'spring'
,
match
[
1
]
lockfile
=
Bundler
::
LockfileParser
.
new
(
Bundler
.
default_lockfile
.
read
)
if
spring
=
lockfile
.
specs
.
detect
{
|
spec
|
spec
.
name
==
"spring"
}
Gem
.
use_paths
Gem
.
dir
,
Bundler
.
bundle_path
.
to_s
,
*
Gem
.
path
gem
'spring'
,
spring
.
version
require
'spring/binstub'
end
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