Reputation: 3919
Are there any instructions anywhere on how to set up Sinatra with RVM and Apache (passenger)? (Normal ruby is 1.8.7; RVM should turn it into 1.9.2 on the apache server.)
Upvotes: 0
Views: 1496
Reputation: 3144
Basically, Passenger 3 uses the RVM settings that were in effect when the installer was run as its default Ruby. In other words, if you installed RVM with 1.9.2 before installing Passenger, Passenger should be using RVM's 1.9.2 Ruby automagically. Just make a config.ru
and vhost as described is the Passenger docs.
Upvotes: 2