Page 1 of 1

Ruby on Rails application could not be started, F12

Posted: Wed Mar 24, 2010 10:45 am
by jalle
Hi it seems that Ruby on Rails has crashed.

I have tried to run "gem install -v=2.3.4 rails" as described in another post. This does not seem to work, I still get the same message after installation, any ideas of what to do... Reinstall Amahi ?? Reinstall Ruby on Rails and other gem products ?

I have looked in the config/environment.rB and RAILS_GEM_VERSION=2.3.4

When I query the following is installed, gem query
actionmailer (2.3.4)
actionpack (2.3.4)
activerecord (2.3.4)
activeresource (2.3.4)
activesupport (2.3.4)
fastthread (1.0.7)
gd2 (1.1.1)
gemcutter (0.5.0)
gruff (0.3.6)
hoe (2.5.0)
json (1.2.3)
json_pure (1.2.3)
minitest (1.5.0)
passenger (2.2.11, 2.2.5)
pluginfactory (1.0.6)
rack (1.1.0, 1.0.1)
rails (2.3.4)
rake (0.8.7)
rubyforge (2.0.4)
sequel (3.9.0)
sinatra (1.0)
sinatra-sequel (0.9.0

The server is up and running but I cannot reach the Amahi web page, http://hda.home.com/user_sessions/new, the shares work, webmin works ...

Thanks in advance
/Jalle F

Re: Ruby on Rails application could not be started, F12

Posted: Thu Mar 25, 2010 6:04 pm
by cpg
try removing rack 1.1.0.

Code: Select all

gem uninstall -v=1.1.0 rack

Re: Ruby on Rails application could not be started, F12

Posted: Thu Mar 25, 2010 11:28 pm
by jalle
Thanks for the reply.

No it did not work. I reinstalled gem and restarted the server but it still does not work, should I remove something else or try to rebuild the Ruby environment somehow ?

/Jalle F

Re: Ruby on Rails application could not be started, F12

Posted: Thu Mar 25, 2010 11:39 pm
by cpg
please post or pm the error in detail.

Re: Ruby on Rails application could not be started, F12

Posted: Sun Apr 04, 2010 3:27 am
by alecfearon
I'm trying to install Amahi and getting the same problem with Ruby on Rails. I noticed that SELinux blocked 22 accesses while the Amahi installer was running. Could that be the cause of the problem and, if so, does anyone know how to overcome it?

Re: Ruby on Rails application could not be started, F12

Posted: Sun Apr 04, 2010 11:24 am
by cpg
please post details of the error - why does it not start?!?

the selinux warnings are normal.

we posted a solution for this - make sure you have (gem list):

rails 2.3.4
rack 1.0.1

and not have

rack 1.1.0

(gem uninstall -v=1.1.0 rack)