Sha256: 0ba359d333fa4476adec1291752155d0dd2e6f062ac81a53ec18d5b3300c72e3

Contents?: true

Size: 1.57 KB

Versions: 12

Compression:

Stored size: 1.57 KB

Contents

#!/usr/bin/env jruby

# This "jahn" script is "ahn" for JRUBY!

# Adhearsion, open source collaboration framework
# Copyright (C) 2006,2007,2008 Jay Phillips
# 
# This library is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
# 
# This library is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
# 
# You should have received a copy of the GNU Lesser General Public License along
# with this library; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

$:.unshift File.expand_path(File.dirname(__FILE__) + "/../lib")

require 'rubygems'
require 'adhearsion'
require 'adhearsion/cli'

# jahn will soon have JRuby-specific behavior such as creating a compiled .jar
# file from an app.
# require 'adhearsion/jruby'

abort(<<-MESSAGE) unless RUBY_PLATFORM =~ /java/
You must use jahn with JRuby! Are you running this script after installing Adhearsion with non-JRuby RubyGems?

If you don't want to install Adhearsion with the JRuby version of RubyGems, try running jahn directly with an absolute path:

#{File.expand_path(__FILE__)} start your_app_name

Note: You must have the jruby executable in your $PATH and $JRUBY_HOME set.
MESSAGE

Adhearsion::CLI::AhnCommand.execute!

Version data entries

12 entries across 12 versions & 6 rubygems

Version Path
eric-adhearsion-0.8.0 bin/jahn
jicksta-adhearsion-0.7.999 bin/jahn
jicksta-adhearsion-0.8.0 bin/jahn
jicksta-adhearsion-0.8.2 bin/jahn
jicksta-adhearsion-0.8.3 bin/jahn
kenwiesner-adhearsioncw-0.8.3 bin/jahn
mtrudel-adhearsion-0.8.3 bin/jahn
sevenscale-adhearsion-0.8.0 bin/jahn
adhearsion-0.8.3 bin/jahn
adhearsion-0.8.0 bin/jahn
adhearsion-0.8.2 bin/jahn
adhearsion-0.8.1 bin/jahn