Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
7eea0efa
Commit
7eea0efa
authored
Aug 01, 2012
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sanity checking /usr/local, updating coffee script install location, old location no longer works
parent
62d7191e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletions
+19
-1
create-dev-env.sh
+19
-1
No files found.
create-dev-env.sh
View file @
7eea0efa
...
...
@@ -203,6 +203,24 @@ case `uname -s` in
esac
;;
Darwin
)
if
[[
!
-w
/usr/local
]]
;
then
cat
<<
EO
You need to be able to write to /usr/local for
the installation of brew and brew packages.
Either make sure the group you are in (most likely 'staff')
can write to that directory or simply execute the following
and re-run the script:
$
sudo chown -R
$USER
/usr/local
EO
exit
1
fi
command
-v
brew &>/dev/null
||
{
output
"Installing brew"
/usr/bin/ruby
-e
"
$(
curl
-fsSL
https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb
)
"
...
...
@@ -238,7 +256,7 @@ case `uname -s` in
command
-v
coffee &>/dev/null
||
{
output
"Installing coffee script"
curl
http
://npmjs.org/install.sh | sh
curl
--insecure
https
://npmjs.org/install.sh | sh
npm install
-g
coffee-script
}
;;
...
...
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