Installing RMagick in Mac OS X Mountain Lion / Maverick with Homebrew
$ vagrant up
An error occurred during installation of VirtualBox Guest Additions 4.3.10. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => /Users/yoshidakeiji/vagrant-test
ls. This is usually because
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "html/template" | |
| "github.com/go-martini/martini" | |
| "github.com/martini-contrib/render" | |
| ) | |
| var FB_APP_ID string = "551781848179574" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Gem files will remain installed in /opt/rails/green_funding/vendor/bundle/ruby/1.9.1/gems/rmagick-2.13.1 for inspection. | |
| Results logged to /opt/rails/green_funding/vendor/bundle/ruby/1.9.1/gems/rmagick-2.13.1/ext/RMagick/gem_make.out | |
| An error occurred while installing rmagick (2.13.1), and Bundler cannot continue. | |
| Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling. | |
| mac:green_funding yoshidakeiji$ C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick bundle install | |
| http://stackoverflow.com/questions/12292896/installing-rmagick-gem-cant-find-magickwand-h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| //"github.com/codegangsta/martini-contrib/render" | |
| "log" | |
| "net/http" | |
| "os" | |
| "github.com/go-martini/martini" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| //"github.com/codegangsta/martini-contrib/render" | |
| "log" | |
| "net/http" | |
| "os" | |
| "github.com/go-martini/martini" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package store | |
| import ( | |
| "fmt" | |
| "github.com/boltdb/bolt" | |
| ) | |
| // reap removes sessions older than a given duration. | |
| // This function assumes that all session data is stored in a "sessions" bucket |