Passenger 5.1.8 released

New version of application server for Ruby, Node.js, Meteor and Python has been released
24 August 2017   4187

What is Passenger? 

Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex. Phusion Passenger supports Ruby, Python, Node.js and Meteor, and is being used by high-profile companies such as Apple, Pixar, New York Times, AirBnB, Juniper etc as well as over 350.000 websites.

Main features:

  • Simple configuration
    • Simultaneously run and manage all your Ruby, Node.js, Python, and Meteor apps, as well as APIs and microservices, on a single Passenger instance.
  • Consolidated overviews
    • Simplify your DevOps logistics by managing and monitoring multiple apps at once.
  • NGINX and Apache integration
    • Passenger’s installation process includes either NGINX or Apache installation to reduce work and moving parts on your end.
  • Supported technologies
    • RubyGem, APT and YUM packages; Puppet, Chef, and Ansible recipes; Docker integration; and more are available.

What's new in version 5.1.8?

  • APT Nginx package to 1.12.1
    • The APT Nginx package that was provided for older distributions (Ubuntu Xenial / Debian Jessie and below) was stuck at Nginx version 1.10.3 due to incompatibilities in the module set that those distributions use. Updated module versions have solved these issues, so we've upgraded the package to the latest stable Nginx (1.12.1).
  • Webpacker asset support
    • Passenger Standalone now automatically uses Nginx to serves static asset URLs that conform to the webpacker gem format.
  • Improved logging
    • Log format changed to be shorter and more informative. The new format significantly shortens the thread ID, and includes the message's (abbreviated) log level so that it's a lot easier to filter through messages.
  • Various fixes
    • Fixes a potential use-after-free bug when reporting usage data to the Phusion licensing server. This bug only occurs when Passenger Enterprise is running inside a container.
    • If configured to listen on a Unix domain socket, properly cleans up this socket on Nginx shutdown (a regression from 5.1.6).
    • Fixes the --max-requests option when using the builtin engine (a regression from 5.1.4).

Learn more at official website and GitHub.

Ruby/RoR News Digest 30.11 - 6.12

Using Rubyfmt with Atom, overpacking as a common Webpacker mistake, RubyConf 2019 Tony Drake's speech and more 
06 December 2019   157

Greetings! I hope your week went great! Here's new Ruby news digest.

Learn about Ruby 2.7's shorthand syntax for argument forwarding, what's new in Ruby 2.7, Ruby 2019 main takeaways from the keynote (as a text) and much more!

Guides

  • Ruby 2.7 Adds Shorthand Syntax for Argument Forwarding 

In Ruby 2.7 you can use the syntax ... in parameter or argument lists to basically ‘pass through’ (or forward) arguments from one method to another

  • Using Rubyfmt with Atom

Rubyfmt is inspired by Go’s gofmt formatting tool and it formats existing Ruby code, and you can set this up as you like 

  • From ActiveRecord Callbacks to Publish/Subscribe Pattern and Event-driven Design

Learn how to move the legacy app from the old design to the new clean way, from activerecord callbacks to event-drive design, in the end

  • Overpacking.. A Common Webpacker Mistake

Learn about the popular Webpacker users' mistake and how to avoid it and save deploy time

  • Ruby - raise Exception.new or raise Exception - they're both the same

Learn why they are the same

Articles

  • What’s New in Ruby 2.7? 

There’s a lot new things coming in 2.7 including controversial stuff like pattern matching, numbered parameters, and keyword argument changes

  • Rubyconf 2019 — Main takeaways from the keynote — Ruby 2.7, 3.0 and the road ahead

If you missed the biggest Ruby event this year - don't worry and check this takeaway

  • A Q&A with Eileen Uchitelle

Interview with staff Software Engineer on the Ruby Architecture Team at GitHub and a member of the Rails Core team.

Video

  • RubyConf 2019 - JRuby: Zero to Scale!  by Charles Oliver Nutter and Thomas E Enebo

  • RubyConf 2019 - Containerizing Local Development... Is It Worth it? by Tony Drake