 |
Forums |
Admin Start New Thread
By: Topper Bowers
rails 2.3.5 not appearing to work for me [ reply ] 2010-01-14 03:24
|
creating a totally new blank rails app (in 2.3.5) does not run in glassfish - the glassfish command gives me a "rails gem not installed." However, I can run jruby script/server without incident. I'm pasting a console session below. Snow Leopard, jruby 1.4.0, rails 2.3.5, glassfish gem 1.0.2
22:21 ~/projects $ jgem list rails
*** LOCAL GEMS ***
rails (2.3.5, 2.2.2)
22:21 ~/projects $ jruby -S rails test_app
create
[... list of files removed ...]
22:21 ~/projects $ cd test_app/
22:21 ~/projects/test_app $ jruby -S glassfish
Starting GlassFish server at: 0.0.0.0:3000 in development environment...
Writing log messages to: /Users/topper/projects/test_app/log/development.log.
Press Ctrl+C to stop.
Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
^CStopping GlassFish!
22:22 ~/projects/test_app $ jruby script/server
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-01-13 22:22:26] INFO WEBrick 1.3.1
[2010-01-13 22:22:26] INFO ruby 1.8.7 (2009-11-02) [java]
[2010-01-13 22:22:26] INFO WEBrick::HTTPServer#start: pid=10430 port=3000
[... site can now be accessed at http://localhost:3000 ...]
|
|
 |