Created
May 14, 2012 14:02
-
-
Save lance/2694173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[lance@torquebox opt]$ wget http://torquebox.org/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip--2012-05-14 13:50:42-- http://torquebox.org/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip | |
Resolving torquebox.org... 63.246.7.180 | |
Connecting to torquebox.org|63.246.7.180|:80... connected. | |
HTTP request sent, awaiting response... 302 Found | |
Location: http://d2t70pdxfgqbmq.cloudfront.net/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip [following] | |
--2012-05-14 13:50:42-- http://d2t70pdxfgqbmq.cloudfront.net/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip | |
Resolving d2t70pdxfgqbmq.cloudfront.net... 216.137.39.168, 216.137.39.199, 216.137.39.233, ... | |
Connecting to d2t70pdxfgqbmq.cloudfront.net|216.137.39.168|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 173153188 (165M) [application/zip] | |
torquebox-dist-2.0.3-bin.zip: Permission denied | |
Cannot write to “torquebox-dist-2.0.3-bin.zip” (Permission denied). | |
[lance@torquebox opt]$ sudo wget http://torquebox.org/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip | |
--2012-05-14 13:50:47-- http://torquebox.org/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip | |
Resolving torquebox.org... 63.246.7.180 | |
Connecting to torquebox.org|63.246.7.180|:80... connected. | |
HTTP request sent, awaiting response... 302 Found | |
Location: http://d2t70pdxfgqbmq.cloudfront.net/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip [following] | |
--2012-05-14 13:50:47-- http://d2t70pdxfgqbmq.cloudfront.net/release/org/torquebox/torquebox-dist/2.0.3/torquebox-dist-2.0.3-bin.zip | |
Resolving d2t70pdxfgqbmq.cloudfront.net... 216.137.39.163, 216.137.39.168, 216.137.39.199, ... | |
Connecting to d2t70pdxfgqbmq.cloudfront.net|216.137.39.163|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 173153188 (165M) [application/zip] | |
Saving to: “torquebox-dist-2.0.3-bin.zip” | |
100%[==============================================================================>] 173,153,188 6.14M/s in 29s | |
2012-05-14 13:51:16 (5.71 MB/s) - “torquebox-dist-2.0.3-bin.zip” saved [173153188/173153188] | |
[lance@torquebox opt]$ unzip torquebox | |
unzip: cannot find or open torquebox, torquebox.zip or torquebox.ZIP. | |
[lance@torquebox opt]$ ls | |
torquebox torquebox-dist-2.0.3-bin.zip | |
[lance@torquebox opt]$ sudo unzip torquebox-dist-2.0.3-bin.zip | |
Archive: torquebox-dist-2.0.3-bin.zip | |
creating: torquebox-2.0.3/ | |
creating: torquebox-2.0.3/jboss/ | |
... SNIP ... | |
inflating: torquebox-2.0.3/share/rails/template.rb | |
inflating: torquebox-2.0.3/share/rails/openshift_app_builder.rb | |
inflating: torquebox-2.0.3/Rakefile | |
[lance@torquebox opt]$ java -version | |
java version "1.6.0_20" | |
OpenJDK Runtime Environment (IcedTea6 1.9.10) (fedora-55.1.9.10.fc14-x86_64) | |
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) | |
[lance@torquebox opt]$ sudo ln -s torquebox-2.0.3 torquebox | |
[lance@torquebox opt]$ ls -l | |
total 4 | |
lrwxrwxrwx 1 root root 15 May 14 13:53 torquebox -> torquebox-2.0.3 | |
drwxrwxr-x 5 lance lance 4096 May 4 11:38 torquebox-2.0.3 | |
[lance@torquebox opt]$ which jruby | |
/opt/torquebox/jruby/bin/jruby | |
[lance@torquebox opt]$ which gem | |
/opt/torquebox/jruby/bin/gem | |
[lance@torquebox opt]$ gem install rails^C | |
[lance@torquebox opt]$ gem list | |
*** LOCAL GEMS *** | |
blankslate (2.1.2.4) | |
bundler (1.1.3) | |
clj (0.0.5.6) | |
rack (1.4.1) | |
rake (0.8.7) | |
sources (0.0.1) | |
thor (0.15.0) | |
torquebox (2.0.3) | |
torquebox-cache (2.0.3 java) | |
torquebox-capistrano-support (2.0.3) | |
torquebox-configure (2.0.3 java) | |
torquebox-core (2.0.3 java) | |
torquebox-messaging (2.0.3 java) | |
torquebox-naming (2.0.3 java) | |
torquebox-no-op (2.0.3) | |
torquebox-rake-support (2.0.3) | |
torquebox-security (2.0.3 java) | |
torquebox-stomp (2.0.3) | |
torquebox-transactions (2.0.3) | |
torquebox-web (2.0.3 java) | |
[lance@torquebox opt]$ gem install rails | |
Fetching: i18n-0.6.0.gem (100%) | |
Fetching: multi_json-1.3.5.gem (100%) | |
Fetching: activesupport-3.2.3.gem (100%) | |
Fetching: builder-3.0.0.gem (100%) | |
Fetching: activemodel-3.2.3.gem (100%) | |
Fetching: rack-cache-1.2.gem (100%) | |
Fetching: rack-test-0.6.1.gem (100%) | |
Fetching: journey-1.0.3.gem (100%) | |
Fetching: hike-1.2.1.gem (100%) | |
Fetching: tilt-1.3.3.gem (100%) | |
Fetching: sprockets-2.1.3.gem (100%) | |
Fetching: erubis-2.7.0.gem (100%) | |
Fetching: actionpack-3.2.3.gem (100%) | |
Fetching: arel-3.0.2.gem (100%) | |
Fetching: tzinfo-0.3.33.gem (100%) | |
Fetching: activerecord-3.2.3.gem (100%) | |
Fetching: activeresource-3.2.3.gem (100%) | |
Fetching: mime-types-1.18.gem (100%) | |
Fetching: polyglot-0.3.3.gem (100%) | |
Fetching: treetop-1.4.10.gem (100%) | |
Fetching: mail-2.4.4.gem (100%) | |
Fetching: actionmailer-3.2.3.gem (100%) | |
Fetching: thor-0.14.6.gem (100%) | |
Fetching: rack-ssl-1.3.2.gem (100%) | |
Fetching: json-1.7.3-java.gem (100%) | |
Fetching: rdoc-3.12.gem (100%) | |
Depending on your version of ruby, you may need to install ruby rdoc/ri data: | |
<= 1.8.6 : unsupported | |
= 1.8.7 : gem install rdoc-data; rdoc-data --install | |
= 1.9.1 : gem install rdoc-data; rdoc-data --install | |
>= 1.9.2 : nothing to do! Yay! | |
Fetching: railties-3.2.3.gem (100%) | |
Fetching: rails-3.2.3.gem (100%) | |
Successfully installed i18n-0.6.0 | |
Successfully installed multi_json-1.3.5 | |
Successfully installed activesupport-3.2.3 | |
Successfully installed builder-3.0.0 | |
Successfully installed activemodel-3.2.3 | |
Successfully installed rack-cache-1.2 | |
Successfully installed rack-test-0.6.1 | |
Successfully installed journey-1.0.3 | |
Successfully installed hike-1.2.1 | |
Successfully installed tilt-1.3.3 | |
Successfully installed sprockets-2.1.3 | |
Successfully installed erubis-2.7.0 | |
Successfully installed actionpack-3.2.3 | |
Successfully installed arel-3.0.2 | |
Successfully installed tzinfo-0.3.33 | |
Successfully installed activerecord-3.2.3 | |
Successfully installed activeresource-3.2.3 | |
Successfully installed mime-types-1.18 | |
Successfully installed polyglot-0.3.3 | |
Successfully installed treetop-1.4.10 | |
Successfully installed mail-2.4.4 | |
Successfully installed actionmailer-3.2.3 | |
Successfully installed thor-0.14.6 | |
Successfully installed rack-ssl-1.3.2 | |
Successfully installed json-1.7.3-java | |
Successfully installed rdoc-3.12 | |
Successfully installed railties-3.2.3 | |
Successfully installed rails-3.2.3 | |
28 gems installed | |
[lance@torquebox opt]$ torquebox rails demo | |
Cannot find torquebox-server: Could not find torquebox-server (>= 0) amongst [actionmailer-3.2.3, actionpack-3.2.3, activemodel-3.2.3, activerecord-3.2.3, activeresource-3.2.3, activesupport-3.2.3, arel-3.0.2, blankslate-2.1.2.4, builder-3.0.0, bundler-1.1.3, clj-0.0.5.6, erubis-2.7.0, hike-1.2.1, i18n-0.6.0, journey-1.0.3, json-1.7.3-java, mail-2.4.4, mime-types-1.18, multi_json-1.3.5, polyglot-0.3.3, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.3, railties-3.2.3, rake-0.8.7, rdoc-3.12, sources-0.0.1, sprockets-2.1.3, thor-0.15.0, thor-0.14.6, tilt-1.3.3, torquebox-2.0.3, torquebox-cache-2.0.3-java, torquebox-capistrano-support-2.0.3, torquebox-configure-2.0.3-java, torquebox-core-2.0.3-java, torquebox-messaging-2.0.3-java, torquebox-naming-2.0.3-java, torquebox-no-op-2.0.3, torquebox-rake-support-2.0.3, torquebox-security-2.0.3-java, torquebox-stomp-2.0.3, torquebox-transactions-2.0.3, torquebox-web-2.0.3-java, treetop-1.4.10, tzinfo-0.3.33] | |
[ERROR] TORQUEBOX_HOME is not set. Install torquebox-server gem or manually set TORQUEBOX_HOME | |
Rails not installed. Unable to load generators | |
[lance@torquebox opt]$ echo $TORQUEBOX_HOME | |
/opt/torquebox | |
[lance@torquebox opt]$ ls /opt/torquebox | |
jboss jruby Rakefile share | |
[lance@torquebox opt]$ TORQUEBOX_HOME=/opt/torquebox torquebox rails demo | |
Rails not installed. Unable to load generators | |
[lance@torquebox opt]$ gem install torquecheck | |
Fetching: torquecheck-0.1.2.gem (100%) | |
Successfully installed torquecheck-0.1.2 | |
1 gem installed | |
[lance@torquebox opt]$ torquecheck | |
>>>>> Environment <<<<<< | |
TORQUEBOX_HOME: | |
JRUBY_HOME: | |
JBOSS_HOME: | |
>>>>> Ruby <<<<<< | |
Version: 1.8.7 | |
Platform: java | |
>>>>> TorqueBox Server <<<<<< | |
torquebox-server gem: | |
Not installed | |
Can't find TorqueBox! | |
>>>>> Gems <<<<<< | |
Version: 1.8.24 | |
Platform: universal-java-1.6 | |
Gem Paths: | |
- /home/lance/.gem/jruby/1.8 | |
Gem Configuration: | |
:update_sources => true | |
:verbose => true | |
:benchmark => false | |
:backtrace => false | |
:bulk_threshold => 1000 | |
"install" => "--no-rdoc --no-ri --env-shebang" | |
"update" => "--no-rdoc --no-ri --env-shebang" | |
Remote Sources: | |
http://rubygems.org/ | |
>>>>> Bundler <<<<<< | |
Version: 1.1.3 | |
/opt does not contain a Gemfile. | |
[lance@torquebox opt]$ echo $TORQUEBOX_HOME | |
/opt/torquebox | |
[lance@torquebox opt]$ echo $JRUBY_HOME | |
/opt/torquebox/jruby | |
[lance@torquebox opt]$ echo $JBOSS_HOME | |
/opt/torquebox/jboss | |
[lance@torquebox opt]$ ls -l /opt/torquebox/ | |
total 16 | |
drwxr-xr-x 10 lance lance 4096 Mar 10 01:40 jboss | |
drwxr-xr-x 8 lance lance 4096 May 1 14:30 jruby | |
-rw-rw-r-- 1 lance lance 126 May 4 11:38 Rakefile | |
drwxrwxr-x 5 lance lance 4096 May 4 11:38 share | |
[lance@torquebox opt]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment