spogulis no
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
![Jean-Baptiste Barth](/assets/img/avatar_default.png)
Since Ruby 1.9.2, LOAD_PATH does not include "." directory anymore, so
we should use absolute paths instead to ensure both 1.8.x and 1.9.x
compatibility. It has been included in railties 2.3.x branch since
july 2009, see 7a427a83ca
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4359 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 rindas
193 B
Ruby
Izpildāmais fails
7 rindas
193 B
Ruby
Izpildāmais fails
#!/usr/bin/env ruby
|
|
require File.expand_path('../../config/boot', __FILE__)
|
|
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
|
|
require 'commands/about'
|
|
|
|
Redmine::About.print_plugin_info
|