Upgrade to newer Ruby, ActiveRecord, RSpec#294
Conversation
…of Arel until they have a release that fixes the yaml dumping bug
|
This looks great - I'll try to make some time in the next few days to play around and make sure everything is working. Glad to be able to get back on mainline for those gems - good to see the forks have been merged and patches applied :) Could you add the new ruby to the travis build matrix in |
|
I don't think Ruby 2.1 is suported on Openshift. Will I still be able to use stringer on Openshift if this gets merged? Thanks in advance. |
|
I went with 2.0.0 in the Gemfile and setup 2.1.0 to run on Travis. Thanks! |
|
@duenni i just tried deploying it on a test instance in OpenShift with the latest stringer here. The instructions in docs/OpenShift.md are still valid, except for 1 issue. The gem 'pry-byebug' depends on 'byebug' which needs Ruby 2.0 at least. So there are 2 options so far:
I tried both and the deployment to OpenShift works, with Stringer loading properly. Fetching feeds works too. Note that this is purely for production deployment to OpenShift and does not take into account the test and dev env. Not sure if this is the correct way, but if it is okay, I will update the docs/OpenShift.md docs. |
|
I'm not even sure what |
|
AFAIK, byebug is the replacement for debugger in 2.0 and beyond. hence the switch from pry-debugger to pry-byebug. I'll see about platform-specific declarations. |
|
I have not used OpenShift so maybe this is a silly question but - can you configure it to just install the production environment from the Gemfile? Basically |
|
I managed to get stringer working on OpenShift by doing the I think I will test it out on an upgrade and see if it works, then I will update the OpenShift.md docs which should conclude this issue on OpenShift hopefully. |
|
Ran into another issue. Seems like there are some conflicts between OpenShift's activemodel and the new activemodel 4. Guess I will ask in the OpenShift forums first. |
|
Thanks for looking into this, really appreciated! |
|
Seems like it is a bug in OpenShift when I added the Meanwhile, the 2 methods I mentioned above still works. (Removing dev and test environment, or changing pry-byebug to pry-debugger) I just tested them. So this might be the easiest way out. I will update the OpenShift.md if there are no objections? |
|
Yes please - go ahead and update the docs. Can always change them later if it gets resolved :) |
|
updated :) opted for the easier way out. but wondering if it might confuse people.. maybe i should add a note indicating that it is for OpenShift production only? |
|
@jasonngpt @swanson the issue in OpenShift is currently being addressed in this PR: openshift/origin-server#4426 |
|
thanks @mfojtik! i didn't know OpenShift is on GitHub :) |
Ruby 2.1.0p0, ActiveRecord 4, Rspec 2.14.1, and mainline versions of feedzirra, feedbag, and sinatra-contrib.