LoginSignup
1
1

More than 5 years have passed since last update.

Laravel 環境構築

Last updated at Posted at 2015-12-16

そういえば一度MACにlaravelを使用と思いインストールしたことがあったのでメモです。

■composerを入れる

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/bin/composer

■MCryptを入れる

brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install mcrypt php55-mcrypt

しかし

brew tap homebrew/dupes
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 26: /usr/local/Library/brew.rb: Undefined error: 0

でエラー

yoshimite入れた時に変わったらしい
http://qiita.com/sue738/items/7ab03ecc9f6fcf37408d
を参考にして

/usr/local/Library/brew.rb を修正。

brew.rb
1.8->current
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0

#!/System/Library/Frameworks/Ruby.framework/Versions/current/usr/bin/ruby -W0
$ brew tap homebrew/dupes
Cloning into '/usr/local/Library/Taps/homebrew-dupes'...
remote: Counting objects: 1662, done.
remote: Total 1662 (delta 0), reused 0 (delta 0), pack-reused 1662
Receiving objects: 100% (1662/1662), 336.48 KiB | 135.00 KiB/s, done.
Resolving deltas: 100% (919/919), done.
Checking connectivity... done.
Warning: Could not tap homebrew/dupes/xar over Homebrew/homebrew/xar
Tapped 39 formula

こんどはWarning

mac(Yosemite)のscreenで縦分割の対応されてないらしい。
http://www.neutralworks.com/?p=140

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1