Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
ce5ffed6
Commit
ce5ffed6
authored
13 years ago
by
Holger Just
Browse files
Options
Downloads
Patches
Plain Diff
Require bundler 1.0.6.
Only that version introduced the mingw platforms we use in our Gemfile.
parent
261aca65
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/preinitializer.rb
+4
-4
4 additions, 4 deletions
config/preinitializer.rb
with
4 additions
and
4 deletions
config/preinitializer.rb
+
4
−
4
View file @
ce5ffed6
...
...
@@ -19,9 +19,9 @@ rescue LoadError
raise
"Could not load the bundler gem. Install it with `gem install bundler`."
end
if
Gem
::
Version
.
new
(
Bundler
::
VERSION
)
<
=
Gem
::
Version
.
new
(
"
0.9.24
"
)
raise
RuntimeError
,
"Your bundler version is too old
for Rails 2.3.
"
+
"Run `gem install bundler` to upgrade."
if
Gem
::
Version
.
new
(
Bundler
::
VERSION
)
<
Gem
::
Version
.
new
(
"
1.0.6
"
)
raise
RuntimeError
,
"Your bundler version is too old
. We require
"
+
"
at least version 1.0.6.
Run `gem install bundler` to upgrade."
end
begin
...
...
@@ -29,6 +29,6 @@ begin
ENV
[
"BUNDLE_GEMFILE"
]
=
File
.
expand_path
(
"../../Gemfile"
,
__FILE__
)
Bundler
.
setup
rescue
Bundler
::
GemNotFound
raise
RuntimeError
,
"Bundler couldn't find some gems."
+
raise
RuntimeError
,
"Bundler couldn't find some gems.
"
+
"Did you run `bundle install`?"
end
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment