Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
acb2131f
Commit
acb2131f
authored
Aug 03, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gcc-4.2 on Lion for 1.8.7
parent
ced23523
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
bin/ruby-build
+8
-0
versions/1.8.7-p352
+1
-0
versions/ree-1.8.7-2011.03
+1
-0
No files found.
bin/ruby-build
View file @
acb2131f
...
@@ -74,6 +74,14 @@ after_install_package() {
...
@@ -74,6 +74,14 @@ after_install_package() {
local
stub
=
1
local
stub
=
1
}
}
use_gcc42_on_lion
()
{
if
[
"
$(
uname
-s
)
"
=
"Darwin"
]
;
then
if
[
"
$(
expr
"
$(
sw_vers
-productVersion
| cut
-f
2
-d
.
)
"
\>
=
7
)
"
=
0
]
;
then
export
CC
=
/usr/bin/gcc-4.2
fi
fi
}
usage
()
{
usage
()
{
echo
"usage: ruby-build DEFINITION-PATH INSTALLATION-PREFIX"
echo
"usage: ruby-build DEFINITION-PATH INSTALLATION-PREFIX"
exit
1
exit
1
...
...
versions/1.8.7-p352
View file @
acb2131f
use_gcc42_on_lion
install_package "ruby-1.8.7-p352" "http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p352.tar.gz"
install_package "ruby-1.8.7-p352" "http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p352.tar.gz"
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
versions/ree-1.8.7-2011.03
View file @
acb2131f
...
@@ -8,4 +8,5 @@ build_package_ree_installer() {
...
@@ -8,4 +8,5 @@ build_package_ree_installer() {
} >$LOG_PATH 2>&1
} >$LOG_PATH 2>&1
}
}
use_gcc42_on_lion
install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" ree_installer
install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" ree_installer
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