Support other Rails environments besides development, test and production
Reported by jsgoecke | December 2nd, 2009 @ 12:17 PM | in 0.8.4
Rails supports the ability to easily add additional runtime environments beyond development, test and production. I may see in 'adhearsion-0.8.3/lib/adhearsion/initializer/configuration.rb' (line 227) we are restricting to only the standard ones.
There are times we may want to add an additional environment, such as 'adhearsion_jruby', that would allow Adhearsion to share the models while using JDBC/JRuby, while Rails runs on the MRI/EE under Passenger.
Would be best to set the constant SUPPORTED_RAILS_ENVIRONMENTS in startup.rb.
Comments and changes to this ticket
-
jsgoecke December 2nd, 2009 @ 12:38 PM
Patched here and sent a pull request to @Jicksta:
http://github.com/jsgoecke/adhearsion/commit/300c2e3675fe14ce25cdb0...
-
Ben Klang June 15th, 2010 @ 09:23 AM
- State changed from new to hold
- Assigned user changed from Jay Phillips to Ben Klang
Waiting for merge into official repository.
-
Ben Klang June 22nd, 2010 @ 01:17 PM
- Milestone set to 0.8.4
-
Ben Klang June 22nd, 2010 @ 01:32 PM
- State changed from hold to resolved
Jason's patch has been merged into the official repository.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป