Rails 5

122 views
Skip to first unread message

Donald Ziesig

unread,
Feb 26, 2016, 12:55:22 PM2/26/16
to Hobo Users
Hi All:

Do we have a version of Hobo that works with Rails 5.x?

When I tried to gem install, I got many error messages referencing Rails
4.2.5.1

Or, is there any way to hack it so it installs on 5.x? I am willing to
work around the issues (and perhaps submit fixes).

Thanks,

Don Ziesig

Donald Ziesig

unread,
Feb 26, 2016, 1:11:13 PM2/26/16
to hobo...@googlegroups.com
Oops, gem install worked, I got the error messages doing "hobo new
thingybob --setup"

I then reverted to Rails 4.2.5.2, gem install hobo, new thingybob
--setup etc. The website came up, but without styling.

Next trying: "new thingybob" without --setup

Don

Donald Ziesig

unread,
Feb 26, 2016, 1:48:09 PM2/26/16
to hobo...@googlegroups.com
I just regenerated thingybob using all defaults. (no --setup). I got
the same results - front page with no styling.
Then, once I signed up and tried to access "Things", it crashed with a
long dump. Will take some time to analyze and figure out what went
wrong. Will post results later.

Don

Stefan Haslinger

unread,
Feb 27, 2016, 6:15:36 AM2/27/16
to Hobo Users
Hi Don,

the Rails Version currently supported is 4.2.5.

Best regards,
Stefan 

Ignacio Huerta

unread,
Feb 27, 2016, 1:14:18 PM2/27/16
to hobo...@googlegroups.com
Thanks to Paul and Stefan, the master branch now works with Rails
4.2.5.1 and Sprockets 3.

Rails 5 support will come, hopefully quickly after Rails 5 final release.

Warm regards,
Ignacio
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hobousers+...@googlegroups.com
> <mailto:hobousers+...@googlegroups.com>.
> To post to this group, send email to hobo...@googlegroups.com
> <mailto:hobo...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/d/optout.

Ignacio Huerta

unread,
Mar 5, 2016, 3:44:20 AM3/5/16
to hobo...@googlegroups.com
Hi everyone,

I just released Hobo 2.2.5, to make it easier to use the latest Rails
4.2.5.1. Thanks a lot!

Warm regards,
Ignacio

Stefan Haslinger

unread,
Mar 5, 2016, 9:36:24 AM3/5/16
to Hobo Users
Btw, I updated my app to 4.2.5.2 already, no problems so far :-)

Ciao,
Stefan

Gabriel Prat

unread,
Feb 16, 2017, 3:12:03 AM2/16/17
to Hobo Users
Any plans to support Rails 5?

Ed Gomolka

unread,
Jun 4, 2017, 10:50:39 PM6/4/17
to Hobo Users
I think that the short answer to this is "yes", but I don't think that there is a specific target date for it.

I have been playing with it myself. I have been trying to get Hobo running on MRI Ruby 2.41/Rails 5.1 for a pre-existing Hobo app, but no luck so far. I can bring the server up, and the dryml pages appear to be compiling, but when I try to bring up the site in my browser, I get an exception before I get to the login page ("undefined method `tag_options' for #<#<Class:0x00561315592df0>:0x00561317df9208>").

I'm guessing that it might be due to a conflict between Erubis and Erubi, as Rails 5 moved from Erubis to Erubi for it's ERB implementation. Hobo uses Erubis to compile the dryml files.

Rails 5 requires quite a few changes, both to Hobo and to any pre-existing web app.
If I can get my web app to run, I will load my modified Hobo code onto GitHub and submit a pull request, but I'm not there yet.

Has anyone else had any luck moving to Rails 5? I would love to compare notes.
Reply all
Reply to author
Forward
0 new messages