Giter VIP home page Giter VIP logo

boxen-web's Introduction

Boxen Build Status

Manage Mac development boxes with love (and Puppet).

Rules for Services

  1. Run on a nonstandard port, usually default port + 1000 or 10000.

  2. Install with a custom Boxen homebrew formula.

  3. Suffix the Homebrew package's version, starting with -boxen1.

  4. Run as a launchd service in the dev namespace, e.g., dev.dnsmasq.

  5. Store config, data, and log files in $BOXEN_HOME/{config,data,log}. This will normally require customization of a service's Homebrew formula.

Sometimes it's not possible to follow these rules, but try hard.

Projects from the CLI

We use a totally awful hack to do from-the-cli project installs of projects. We create a file in "$BOXEN_HOME/repodir" called .projects, with a single line. That line is made up of projects separated by commas. We then read that into a Puppet fact in Puppet-land, and that checks for classes that match those project names, and includes them in the catalog.

We can't pass a FACTER_ env var because sudo has env_reset and we can't just modify the sudoers file due to a chicken-egg problem.

Hooks

  1. All hooks must be in the namespace Boxen::Hook::MyThing.

  2. All hooks must subclass from Boxen::Hook

  3. All hooks must provide a private instance method required_environment_variables that returns an array with at least one entry.

  4. All hooks must provide a private instance method #call.

Contributing

Use the OS X system Ruby (2.0 or newer). Run script/tests often. Open PR's. Use the CI.

Halp!

Use Issues or #boxen on irc.freenode.net.

boxen-web's People

Contributors

atmos avatar btoews avatar burke avatar dgoodlad avatar dlackty avatar eugeneius avatar fromonesrc avatar gregose avatar holman avatar jacobbednarz avatar jakecraige avatar jalessio avatar jamesez avatar jbarnette avatar jroes avatar mastahyeti avatar mattheath avatar mikemcquaid avatar ocxo avatar paxan avatar phs avatar rafaelfranca avatar rodjek avatar seanknox avatar sgerrand avatar skalnik avatar timtim123456 avatar tombell avatar tommetge avatar wfarr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boxen-web's Issues

Upgrade Rails to 5.x

boxen-web is a relatively simple application so we should be able to upgrade this to the latest and greatest without too much issue.

You must set a SECRET_TOKEN environment variable!

Attempting to run this locally and having challenges how or where I get a secret token to access GitHub. Not sure why this is a requirement when the other GitHub apps I've used simply use the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET, but can use some instructions on in either

  1. Generating a SECRET_TOKEN
  2. Finding my SECRET_TOKEN

I assume I would just add this to the ~/.localrc file and source it in my ~/.profile.

No pop-up appears on Mavericks for installing command line tools

I'm not getting the pop-up when running the curl script from boxen-web. The script just does a gcc -v before testing if a directory exists.

I'm not sure how this is supposed to trigger a pop-up for installing command line tools. I had to manually trigger the installation by entering:

xcode-select --install

within a terminal.

Can't run script/server

it gives me an error:
config/unicorn/development.rb:1:inreload': undefined method +' for nil:NilClass (NoMethodError)

Directory traversal with implicit-render

Heaven detected that rails is not >= 4.1.1, ~> 3.2.18, ~> 4.0.5

Your Gemfile.lock on the master branch currently is 3.2.17.

Can you guys fix this up? πŸ’ž

/cc github/security#644

Fix broken Xcode 5.1 w/patch in script/boxen

Now that clang/LLVM shipped in Xcode 5.1 errors when running Boxen the first time, one suggestion was to patch system Ruby to use the same behavior in Xcode <= 5.0.

Would it be worthwhile to add something like this in script/boxen?

# Fix for system ruby with Xcode 5.1
if [[ $CLT_VERSION =~ ^5\.1 ]]; then
  echo "--> Fixing system Ruby that ships with Xcode 5.1."

  curl --progress-bar https://gist.githubusercontent.com/seanknox/10688629/raw/1e57fbb440d36ca5607d1739cc6151f373b234b6/gistfile1.txt | sudo patch /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb
fi

Difficulty bootstrapping in heroku

I've struggled to get the application running on Heroku. Despite successfully installing the application on Heroku, I'm unable to run the heroku run bundle exec rake db:migrate command.

Initially I thought it might be because I'd inadvertently deployed on heroku-16 rather than cedar-14. However, I switched that out and the problem persists. I've also tried reseting the DB to see if it had got into a bad state.

I believe I've followed the instructions correctly, but not having much Heroku or Rails experience I'm not sure if I've made a mistake or if something has broken in the bootstrap process. Any assistance is greatly appreciated!

The error I see is a IndexError: string not matched with the full stack trace being:

boxen-web git:(master 2↑)$ heroku run bundle exec rake db:migrate --trace
Running bundle exec rake db:migrate --trace on β¬’ REDACTED-boxen-web-REDACTED... up, run.8779 (Free)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /app/config/environments/production.rb:11)
DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all environments. To preserve the current setting, add the following line to your `production.rb`:

   config.log_level = :info

. (called from block in tsort_each at /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:228)
** Invoke db:load_config (first_time)
** Execute db:load_config
rake aborted!
IndexError: string not matched
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_handling.rb:77:in `[]='
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_handling.rb:77:in `block in config'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_handling.rb:74:in `tap'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_handling.rb:74:in `config'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_handling.rb:69:in `resolve'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/core.rb:46:in `configurations='
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/railtie.rb:117:in `block (2 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/lazy_load_hooks.rb:44:in `each'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/base.rb:315:in `<module:ActiveRecord>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/base.rb:26:in `<top (required)>'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `block in require'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:240:in `load_dependency'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/mysql_database_tasks.rb:8:in `<class:MySQLDatabaseTasks>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/mysql_database_tasks.rb:3:in `<module:Tasks>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/mysql_database_tasks.rb:2:in `<module:ActiveRecord>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/mysql_database_tasks.rb:1:in `<top (required)>'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `block in require'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:240:in `load_dependency'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/database_tasks.rb:50:in `<module:DatabaseTasks>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/database_tasks.rb:37:in `<module:Tasks>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/database_tasks.rb:4:in `<module:ActiveRecord>'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/tasks/database_tasks.rb:3:in `<top (required)>'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `block in require'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:240:in `load_dependency'
/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/railtie.rb:41:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
/app/vendor/ruby-2.3.3/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
/app/vendor/ruby-2.3.3/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:152:in `invoke_task'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `each'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block in top_level'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:117:in `run_with_threads'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:102:in `top_level'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:80:in `block in run'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
/app/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/app/vendor/bundle/ruby/2.3.0/bin/rake:22:in `load'
/app/vendor/bundle/ruby/2.3.0/bin/rake:22:in `<top (required)>'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/ruby/2.3.0/bin/bundle:22:in `load'
/app/vendor/bundle/ruby/2.3.0/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate => db:load_config

For completeness the output from pushing the application is:

boxen-web git:(master 2↑)$ git push heroku master
Counting objects: 1, done.
Writing objects: 100% (1/1), 827 bytes | 827.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.3.3
remote: -----> Installing dependencies using bundler 1.15.2
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote:        Using rake 12.0.0
remote:        Using i18n 0.8.1
remote:        Using minitest 5.10.1
remote:        Using thread_safe 0.3.5
remote:        Using builder 3.2.3
remote:        Using erubis 2.7.0
remote:        Using mini_portile2 2.1.0
remote:        Using rack 1.6.5
remote:        Using mime-types 1.25.1
remote:        Using arel 6.0.4
remote:        Using bundler 1.15.2
remote:        Using coffee-script-source 1.12.2
remote:        Using execjs 2.7.0
remote:        Using thor 0.19.4
remote:        Using concurrent-ruby 1.0.4
remote:        Using dotenv 2.2.0
remote:        Using multipart-post 2.0.0
remote:        Using hashie 3.5.3
remote:        Using jwt 1.5.6
remote:        Using kgio 2.11.0
remote:        Using multi_json 1.11.2
remote:        Using multi_xml 0.6.0
remote:        Using pg 0.19.0
remote:        Using raindrops 0.17.0
remote:        Using sass 3.4.23
remote:        Using tilt 2.0.6
remote:        Using nokogiri 1.7.0.1
remote:        Using tzinfo 1.2.2
remote:        Using rack-test 0.6.3
remote:        Using mail 2.6.4
remote:        Using uglifier 3.0.4
remote:        Using coffee-script 2.4.1
remote:        Using sprockets 3.7.1
remote:        Using faraday 0.10.1
remote:        Using omniauth 1.6.1
remote:        Using unicorn 5.2.0
remote:        Using loofah 2.0.3
remote:        Using activesupport 4.2.8
remote:        Using oauth2 1.3.0
remote:        Using rails-html-sanitizer 1.0.3
remote:        Using rails-deprecated_sanitizer 1.0.3
remote:        Using globalid 0.3.7
remote:        Using activemodel 4.2.8
remote:        Using omniauth-oauth2 1.4.0
remote:        Using rails-dom-testing 1.0.8
remote:        Using activerecord 4.2.8
remote:        Using activejob 4.2.8
remote:        Using actionview 4.2.8
remote:        Using omniauth-github 1.2.3
remote:        Using actionpack 4.2.8
remote:        Using actionmailer 4.2.8
remote:        Using railties 4.2.8
remote:        Using sprockets-rails 3.2.0
remote:        Using coffee-rails 4.2.1
remote:        Using jquery-rails 4.2.2
remote:        Using rails 4.2.8
remote:        Using sass-rails 5.0.6
remote:        Bundle complete! 13 Gemfile dependencies, 57 gems now installed.
remote:        Gems in the groups development and test were not installed.
remote:        Bundled gems are installed into ./vendor/bundle.
remote:        Bundle completed (1.08s)
remote:        Cleaning up the bundler cache.
remote: -----> Installing node-v6.11.1-linux-x64
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote:        Running: rake assets:precompile
remote:        DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /tmp/build_fd6f6cd9f33590cdda5447e3c597a531/config/environments/production.rb:11)
remote:        DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all environments. To preserve the current setting, add the following line to your `production.rb`:
remote:        config.log_level = :info
remote:        . (called from block in tsort_each at /tmp/build_fd6f6cd9f33590cdda5447e3c597a531/vendor/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:228)
remote:        Asset precompilation completed (1.36s)
remote:        Cleaning assets
remote:        Running: rake assets:clean
remote:        DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /tmp/build_fd6f6cd9f33590cdda5447e3c597a531/config/environments/production.rb:11)
remote:        DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`. Currently, the default value for `log_level` is `:info` for the production environment and `:debug` in all other environments. In Rails 5 the default value will be unified to `:debug` across all environments. To preserve the current setting, add the following line to your `production.rb`:
remote:        config.log_level = :info
remote:        . (called from block in tsort_each at /tmp/build_fd6f6cd9f33590cdda5447e3c597a531/vendor/ruby-2.3.3/lib/ruby/2.3.0/tsort.rb:228)
remote:
remote: ###### WARNING:
remote:        Include 'rails_12factor' gem to enable all platform features
remote:        See https://devcenter.heroku.com/articles/rails-integration-gems for more information.
remote:
remote: ###### WARNING:
remote:        No Procfile detected, using the default web server.
remote:        We recommend explicitly declaring how to boot your server process via a Procfile.
remote:        https://devcenter.heroku.com/articles/ruby-default-web-server
remote:
remote: -----> Discovering process types
remote:        Procfile declares types     -> (none)
remote:        Default types for buildpack -> console, rake, web, worker
remote:
remote: -----> Compressing...
remote:        Done: 57.8M
remote: -----> Launching...
remote:        Released v13
remote:        https://REDACTED-boxen-web-REDACTED.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/REDACTED-boxen-web-REDACTED.git
   e06b380..e5d069e  master -> master

I've set config for the app:

=== REDACTED-boxen-web-REDACTED Config Vars
DATABASE_URL:             postgres://REDACTED@REDACTED:5432/REDACTED
GITHUB_CLIENT_ID:         REDACTED
GITHUB_CLIENT_SECRET:     REDACTED
GITHUB_ORG:               REDACTED
LANG:                     en_US.UTF-8
RACK_ENV:                 production
RAILS_ENV:                production
RAILS_SERVE_STATIC_FILES: enabled
REPOSITORY:               REDACTED/our-boxen
SECRET_KEY_BASE:          REDACTED
SECRET_TOKEN:             REDACTED

SQL injection with PostgresSQL adapter

Heaven detected that rails is not >= 3.2.19

Your Gemfile.lock on the master branch currently is 3.2.17.

Can you guys fix this up? πŸ’ž

/cc github/security#635

No License

Please add a LICENSE file like boxen/boxen.

Wrong user selected when GH username changed

I originally auth'ed to boxen-web using my old username which has since been changed. Upon auth'ing with my current user, script.sh was still being rendered with my old username.

I'm not totally clear on the issue - I thought at first it was User#first_and_create but I'd assume that my new login, southgate, would be created and user set to it.

Issue with OAuth

For some reason I keep getting issues with OAuth for my boxen-web.

Heroku setup:

heroku config:set \
  REPOSITORY="dev-boxen/dev-boxen" \
  GITHUB_CLIENT_ID=[REDACTED] \
  GITHUB_CLIENT_SECRET=REDACTED \
  GITHUB_TEAM_ID=4224291 \
  SECONDARY_MESSAGE="Dev-boxen." \
  SECRET_TOKEN=REDACTED

OAuth setup:
image

The heroku log with the error:

app[web.1]: TypeError (can't convert String into Integer):
app[web.1]:   app/controllers/auth_controller.rb:44:in `[]'
app[web.1]:   app/controllers/auth_controller.rb:44:in `block in team_access?'
app[web.1]:   app/controllers/auth_controller.rb:5:in `create'
app[web.1]:   app/controllers/auth_controller.rb:43:in `each'
app[web.1]:
app[web.1]:   app/controllers/auth_controller.rb:43:in `any?'
app[web.1]:   app/controllers/auth_controller.rb:43:in `team_access?'

boxen-web without github

Hi

I realise this may be asking for a bit much, but I'd like to encourage my team to start using boxen, however we don't use github for code hosting.

I've managed to get an our-boxen clone all setup on our hosting. I've managed to set it up through console myself on a new machine. I'd prefer to use boxen-web, but some of the team don't have github accounts, so using that method would be problematic.

Any chance I could modify this project to work with some other oauth provider? Or even better, just relying on having access to the boxen repo and any other private repos it references?

404 error after authentication

I'm getting 404 errors after successfully authenticating. we're using github enterprise, but, the site is hosted via http instead of https. is there a workaround or some other way to debug this problem?

FATAL: database "boxen_development" does not exist

When launch script/server and go on localhost:9393 i see this :

PG::Error

FATAL: database "boxen_development" does not exist
Rails.root: /opt/boxen/src/boxen-web

Application Trace | Framework Trace | Full Trace
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in initialize' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:innew'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in connect' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:324:ininitialize'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in new' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/postgresql_adapter.rb:28:inpostgresql_connection'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in new_connection' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:incheckout_new_connection'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in block (2 levels) in checkout' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:inloop'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in block in checkout' /opt/boxen/rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:inmon_synchronize'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in checkout' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:inblock in connection'
/opt/boxen/rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in mon_synchronize' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:inconnection'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in retrieve_connection' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:inretrieve_connection'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in connection' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:67:inrescue in call'
.bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:61:in call' .bundle/ruby/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
.bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:28:in block in call' .bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in_run__4464179330587753328__call__2196476471735244280__callbacks'
.bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback' .bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in_run_call_callbacks'
.bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks' .bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:27:incall'
.bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/reloader.rb:65:in call' .bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/remote_ip.rb:31:incall'
.bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' .bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:incall'
.bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in call_app' .bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:inblock in call'
.bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in tagged' .bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:incall'
.bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in call' .bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall'
.bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call' .bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:incall'
.bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in call' .bundle/ruby/2.0.0/gems/actionpack-3.2.16/lib/action_dispatch/middleware/static.rb:63:incall'
.bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:484:in call' .bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:231:incall'
.bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in method_missing' .bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lint.rb:48:in_call'
.bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lint.rb:36:in call' .bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/showexceptions.rb:24:incall'
.bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/commonlogger.rb:33:in call' .bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/chunked.rb:43:incall'
.bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/content_length.rb:14:in call' .bundle/ruby/2.0.0/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:552:inprocess_client'
.bundle/ruby/2.0.0/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:628:in worker_loop' .bundle/ruby/2.0.0/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:500:inspawn_missing_workers'
.bundle/ruby/2.0.0/gems/unicorn-4.5.0/lib/unicorn/http_server.rb:142:in start' .bundle/ruby/2.0.0/gems/unicorn-4.5.0/bin/unicorn:121:in<top (required)>'
bin/unicorn:16:in load' bin/unicorn:16:in

'
Request

Parameters:

None
Show session dump

Show env dump

HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8"
HTTP_ACCEPT_ENCODING: "gzip, deflate"
HTTP_ACCEPT_LANGUAGE: "en-us"
REMOTE_ADDR: "127.0.0.1"
SERVER_NAME: "localhost"
SERVER_PROTOCOL: "HTTP/1.1"
Response

Headers:

None

doesn't exist a schema for this DB ???

pg 0.14.1 error, Bundler can't continue

Installing PostgreSQL 0.14.1 as a gem doesn't work for my OS X 10.9.3, I have tried downloading Postgre.app and linking to the pg_config, but nothing seems to work at all.

Missing schema's and unclear installation docs

Hey,

i'm trying to get this running on Heroku, but it's not documented properlu.

First off, you need #5 to get it starting

After that i ran into some issues with the callback url, not exactly sure what the real reason was because i tried a lot, i changed:

  • no / at the end of the URL
  • make sure i used https and not http (this is documented correctly btw, my bad)

But then I ran into this error

2013-02-16T14:29:14+00:00 app[web.1]: TypeError (can't convert String into Integer):
2013-02-16T14:29:14+00:00 app[web.1]:   app/controllers/auth_controller.rb:43:in `team_access?'
2013-02-16T14:29:14+00:00 app[web.1]: Completed 500 Internal Server Error in 34ms
2013-02-16T14:29:14+00:00 app[web.1]: 
2013-02-16T14:29:14+00:00 app[web.1]:   app/controllers/auth_controller.rb:44:in `[]'
2013-02-16T14:29:14+00:00 app[web.1]:   app/controllers/auth_controller.rb:43:in `each'
2013-02-16T14:29:14+00:00 app[web.1]:   app/controllers/auth_controller.rb:43:in `any?'
2013-02-16T14:29:14+00:00 app[web.1]:   app/controllers/auth_controller.rb:5:in `create'
2013-02-16T14:29:14+00:00 app[web.1]: 
2013-02-16T14:29:14+00:00 app[web.1]: 
2013-02-16T14:29:14+00:00 app[web.1]:   app/controllers/auth_controller.rb:44:in `block in team_access?'

I did not limit the team access, but since the error was something about that, i revoked access, and added the team limit in the env vars.

I redid the auth but then i got stuck at this error about some schema's that were missing

2013-02-16T14:30:28+00:00 app[web.1]: Completed 500 Internal Server Error in 2077ms
2013-02-16T14:30:28+00:00 app[web.1]: 
2013-02-16T14:30:28+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::Error: ERROR:  relation "users" does not exist
2013-02-16T14:30:28+00:00 app[web.1]: LINE 5:              WHERE a.attrelid = '"users"'::regclass
2013-02-16T14:30:28+00:00 app[web.1]:                                         ^
2013-02-16T14:30:28+00:00 app[web.1]: :             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2013-02-16T14:30:28+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
2013-02-16T14:30:28+00:00 app[web.1]:               FROM pg_attribute a LEFT JOIN pg_attrdef d
2013-02-16T14:30:28+00:00 app[web.1]:                 ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2013-02-16T14:30:28+00:00 app[web.1]:              WHERE a.attrelid = '"users"'::regclass
2013-02-16T14:30:28+00:00 app[web.1]:                AND a.attnum > 0 AND NOT a.attisdropped
2013-02-16T14:30:28+00:00 app[web.1]:              ORDER BY a.attnum
2013-02-16T14:30:28+00:00 app[web.1]: ):
2013-02-16T14:30:28+00:00 app[web.1]:   app/controllers/auth_controller.rb:6:in `create'

After some googling (not a rails nor a heroku dev by trade), i fixed this by running

heroku run rake db:migrate

After this it's working :)

Curl command in web doesn't work & Herokuapp

curl -s http://192.x.x.x/script/3eed24e0.sh > /tmp/install-boxen; bash /tmp/install-boxen

whenever i run this command it doesn't work, I'm also running the boxen locally, is there something i missed?
I can't run heroku app correctly that's why I'm testing it locally then planning to test it in heroku.
Am I doing it wrong?

Bootstrap failing on 10.9 with bundler 1.6.1

Installing pg 0.14.1
Updating files in vendor/cache
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at
http://bit.ly/bundler-issues. Thanks!
/Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/source/rubygems.rb:299:in `builtin_gem?': undefined method `include?' for nil:NilClass (NoMethodError)
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/source/rubygems.rb:133:in `cache'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/runtime.rb:114:in `block in cache'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/runtime.rb:112:in `cache'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/cli/install.rb:77:in `run'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/cli.rb:146:in `install'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/vendor/thor/command.rb:27:in `run'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/vendor/thor.rb:363:in `dispatch'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/vendor/thor/base.rb:440:in `start'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/cli.rb:9:in `start'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/bin/bundle:20:in `block in <top (required)>'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
    from /Users/dmarr/.gem/gems/bundler-1.6.1/bin/bundle:20:in `<top (required)>'
    from /usr/bin/bundle:23:in `load'
    from /usr/bin/bundle:23:in `<main>'

Simpler database

  1. I love boxen.

  2. I ran into an error bootstrapping boxen web. I need pg_config. I don't have postgres. We don't use postgres. It would be nice if I didn't need to have postgres to use this simple tool.

Thanks

User creation didn't set login and github_id

I ran into something at least somewhat similar to #102 as well. Although, I think my issue at least was actually on User creation.

From a binding.pry within AuthController#create:

auth_hash['uid'] #=> "240275"
auth_hash['info']['nickname'] #=> "werebus"
auth_hash.credentials['token']. #=> "REDACTED, a 40-character hex string"

But after authorizing with Github, I get an exception:


NoMethodError in Splash#index

Showing /Users/matt/src/boxen-web/app/views/splash/index.html.erb where line 18 raised:

undefined method short_access_token for nil:NilClass
Extracted source (around line #31):

29
30    def script_path
31        "/script/#{@user.short_access_token}.sh"
32      end
33
34     def secondary_message

Rails.root: /Users/matt/src/boxen-web

app/helpers/views/splash/index.rb:31:in `script_path'
app/helpers/views/splash/index.rb:27:in `script_url'
app/views/splash/index.html.erb:18:in `_app_views_splash_index_html_erb___3969017073143433352_70122182167760'
app/controllers/splash_controller.rb:6:in `index'

And looking in my Rails console:

User.first #=> #<User id: 9, login: nil, github_id: nil, created_at: "2017-05-24 14:41:13", updated_at: "2017-05-24 14:41:13", access_token: "REDACTED, same token">

I suspect this is related to the problem that the author of #102 was having, and indeed, applying that PR does fix my issue. Not sure of the cause, exactly. I'm not all that good at Rails.

XSS in ActiveSupport::JSON

Heaven detected that rails is not >= 4.2.2, ~> 4.1.11

Your Gemfile.lock on the master branch currently is 3.2.21.

Can you folks fix this up? πŸ’ž

/cc github/security#974

Not grabbing the source repo tarball properly

The bootstrap script generated by boxen-web isn't downloading the tarball from my-boxen repo. Here's the section from the script:

echo "--> Grabbing code and extracting. Be patient this may take a while."

  mkdir -p /opt/boxen/repo
  cd /opt/boxen/repo

  curl --progress-bar -L 'https://api.github.com/repos/β€œmyorg/my-boxen”/tarball/master?access_token=[my_token]' | tar -xz - --strip-components 1 && touch .snapshot

Running curl manually returns

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>

Tests run fine. Running on OS X Mavericks.

What are the likely suspects here? Access_token?

CSRF in jquery-rails

Heaven detected that jquery-rails is not >= 4.0.4, ~> 3.1.3

Your Gemfile.lock on the master branch currently is 2.1.4.

Can you folks fix this up? πŸ’ž

/cc github/security#974

FileUtils error when trying to install from Boxen-Web

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1414:in `fu_each_src_dest0': undefined method `to_str' for nil:NilClass (NoMethodError)
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1400:in `fu_each_src_dest'
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/lib/librarian/puppet/source/githubtarball.rb:58:in `install_version!'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/lib/librarian/puppet/source/githubtarball.rb:202:in `install!'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/manifest.rb:89:in `install!'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/action/install.rb:49:in `install_manifests'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/action/install.rb:48:in `each'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/action/install.rb:48:in `install_manifests'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/action/install.rb:39:in `perform_installation'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/action/install.rb:12:in `run'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/cli.rb:157:in `install!'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/lib/librarian/puppet/cli.rb:64:in `install'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/task.rb:27:in `__send__'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/task.rb:27:in `run'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/invocation.rb:120:in `invoke_task'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/thor-0.17.0/lib/thor.rb:344:in `dispatch'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/thor-0.17.0/lib/thor/base.rb:434:in `start'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/cli.rb:29:in `bin!'
  from /opt/boxen/repo/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/bin/librarian-puppet:9
  from /opt/boxen/repo/bin/librarian-puppet:16:in `load'
  from /opt/boxen/repo/bin/librarian-puppet:16
Can't run Puppet, fetching dependencies with librarian failed.

DoS in Rack

Heaven detected that rack is not >= 1.6.2, ~> 1.5.4

Your Gemfile.lock on the master branch currently is 1.4.5.

Can you folks fix this up? πŸ’ž

/cc github/security#974

Various Rails Related Vulns

Heaven detected that rails is not ~> 3.2.15, ~> 4.0.2

Your Gemfile.lock on the master branch currently is 3.2.13.

Can you guys fix this up? πŸ’ž

/cc github/security#314 @atmos

Deprecation warning: rails

How can I resolve this warning, and what will be the effect if i just ignore this warning?

You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/Rakefile:3)

Thank you in advance!

Install script broken or possible permissions oversight in README

Either a new Mac would have to change the permissions of the /tmp/ directory to run install-boxen or something isn't working. It just no-ops when pasting the terminal command. Cutting and pasting the script and putting into ~/install-boxen.sh and bashing it works though.

Error: no implicit conversion of Symbol into Integer (TypeError)

from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/error.rb:43:in documentation_url' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/error.rb:129:inbuild_error_message'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/error.rb:36:in initialize' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/error.rb:30:innew'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/error.rb:30:in from_response' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/response/raise_error.rb:15:inon_complete'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.8.8/lib/faraday/response.rb:9:in block in call' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.8.8/lib/faraday/response.rb:63:inon_complete'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.8.8/lib/faraday/response.rb:8:in call' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.8.8/lib/faraday/connection.rb:253:inrun_request'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/faraday-0.8.8/lib/faraday/connection.rb:106:in get' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/sawyer-0.5.1/lib/sawyer/agent.rb:94:incall'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/client.rb:243:in request' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/client.rb:186:inpaginate'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/octokit-2.3.1/lib/octokit/client/authorizations.rb:21:in authorizations' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.0.4/lib/boxen/preflight/creds.rb:51:inget_tokens'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.0.4/lib/boxen/preflight/creds.rb:81:in run' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.0.4/lib/boxen/check.rb:28:inblock in run'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.0.4/lib/boxen/check.rb:28:in each' from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.0.4/lib/boxen/check.rb:28:inrun'
from /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.0.4/lib/boxen/cli.rb:44:in `run'

This happens when I change BOXEN_GITHUB_ENTERPRISE_URL.

please improve readme

I am really not getting, what boxen-web is.
There is missing some introduction.

It start's with:
cd ~/src/boxen-web

Questions:

  • I didn't have this dir, so I cloned it there - was that correct?
  • In https://github.com/blog/1345-introducing-boxen it says:
    "Once you’ve built a boxen for your team, boxen-web is the easiest way to roll it out."
    -> What is a BOXEN here? What does rolling it out mean?
  • From the same page:
    "If any GitHubber wants to hack on GitHub for Mac all they need to do is run: boxen mac"
    -> What is a GitHubber? Someone who has repos on GitHub? Want's to 'hack on' GitHub? I ran $boxen mac and it failed - what was it supposed to do?
  • after running $script/bootstrap (in boxen/web) I ran $script/server but it was showing
    Missing from ENV: REPOSITORY, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET in a loop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.