Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Heroku button #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sethherr
Copy link

No description provided.

@@ -1,7 +1,5 @@
source "https://rubygems.org"

ruby File.read('.ruby-version').strip if ENV["RACK_ENV"] == "production" # strict ruby version only on heroku
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want a stable / know ruby version ...

@@ -1,5 +1,7 @@
Unify reports from all your tests runs and send them as one.

Run your own hosted batching [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefix with Alternatively: ... since it's not required

"CUSTOM_RUBY_VERSION": "2.2.4",
"CODECLIMATE_REPO_TOKEN": "XXXXXX",
"ROLLBAR": "Rollbar key",
"TO_FILE": "1"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a CODECLIMATE_TO_FILE option from codeclimate/ruby-test-reporter#84

"memcachier:dev"
],
"env": {
"CUSTOM_RUBY_VERSION": "2.2.4",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need that ... reuse .ruby-version

@grosser
Copy link
Owner

grosser commented Nov 10, 2016

thx, nice to have a button :)

@@ -1,5 +1,7 @@
source "https://rubygems.org"

ruby File.read('.ruby-version').strip if ENV["RACK_ENV"] == "production" # strict ruby version only on heroku
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not locally ?
... I'd rather not run a different version when developing ...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the way that you had it originally 😉

I'd definitely down to put the ruby version in the Gemfile and remove the .ruby-version though .

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

past me was an idiot ... should not look at his code ;)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.ruby-version is nice because it makes rbenv / travis / heroku etc pick the right version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants