Ruby on Jets 6.0 Released Ruby on Jets 6.0: Rails Support - BoltOps Blog The biggest news in the release is Rails support. You can run Rails on AWS Lambda easily
Videos
Ruby on Jets 6.0 Released Ruby on Jets 6.0: Rails Support - BoltOps Blog The biggest news in the release is Rails support. You can run Rails on AWS Lambda easily
Videos
Hey Tung. I have a question. I have a legacy rails project (rails 5.1.5 and ruby 2.6.3).
I was recreating the project in Jets, but I am having some problems with the framework itself. Do you think is it worth keep doing what I was doing or should I update rails and ruby to the latest versions and use the same project to implement jets? I’m kind of confused, could you help me with some thoughts?
I see. The jets-rails gem required rails >= 6.1
. I went ahead and released a jets-rails 1.0.3 update gem pin rails >= 5.0 by tongueroo · Pull Request #13 · rubyonjets/jets-rails · GitHub, which updates the pin to rails > 5.0
. I believe Jets should work with that version of Rails, too. I have not tested it as thoroughly, but Rails is Rack compatible, so it should work. And Rails engines have mostly stayed the same since Rails 3.
Some notes:
That being said, rails 5.1.5 and ruby 2.6.3 is pretty old. Gut says, I would try to get it to at least Rails 6 and Ruby 3.2.3. Totally get it if it’s not feasible for you and your team at this time. Personally, I would probably try to get it to the latest Rails 7.1 But again, I totally get it.
Also, try approaching it in steps:
bundle update
and give try a jets deploy
It would help to isolate if there are Rails 5.1 vs. Rails 7.1-specific issues. In theory, Rails 5 should work. Again, I haven’t tested that version thoroughly yet. Eventually, there’ll be a CI matrix that tests different permutations of Rails version and other frameworks with live deployments to one of my AWS test accounts.
For this release, there’s no easy answer. I moved my apps by porting Jets to Rails. Would try to take it one step at a time. Example:
I also have a question about upgrading from Jets 5 to 6. My employer uses Jets 5 but does not pay for a subscription because we use a custom builder for gem layers. Would it still require a subscription to use Jets 6 at all?