Sha256: 5101d542da180fe08410584194c67eb328c17cefcc9a3a87960fbbf9d5b14425

Contents?: true

Size: 1.59 KB

Versions: 14

Compression:

Stored size: 1.59 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 'bundler/setup'
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

14 entries across 14 versions & 2 rubygems

Version Path
adhearsion-1.2.6 bin/jahn
adhearsion-1.2.5 bin/jahn
adhearsion-1.2.4 bin/jahn
adhearsion-1.2.3 bin/jahn
adhearsion-1.2.1 bin/jahn
adhearsion-1.2.0 bin/jahn
adhearsion-1.1.1 bin/jahn
adhearsion-1.1.0 bin/jahn
adhearsion-1.0.3 bin/jahn
adhearsion-1.0.2 bin/jahn
adhearsion-cw-1.0.2.3 bin/jahn
adhearsion-cw-1.0.2.2 bin/jahn
adhearsion-cw-1.0.2.1 bin/jahn
adhearsion-1.0.1 bin/jahn