Ruby on Rails application could not be started, F12

jalle
Posts: 3
Joined: Sun Nov 15, 2009 9:12 am

Ruby on Rails application could not be started, F12

Postby jalle » Wed Mar 24, 2010 10:45 am

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

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

Postby cpg » Thu Mar 25, 2010 6:04 pm

try removing rack 1.1.0.

Code: Select all

gem uninstall -v=1.1.0 rack
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

jalle
Posts: 3
Joined: Sun Nov 15, 2009 9:12 am

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

Postby jalle » Thu Mar 25, 2010 11:28 pm

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

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

Postby cpg » Thu Mar 25, 2010 11:39 pm

please post or pm the error in detail.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

alecfearon
Posts: 1
Joined: Sun Apr 04, 2010 3:22 am

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

Postby alecfearon » Sun Apr 04, 2010 3:27 am

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?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

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

Postby cpg » Sun Apr 04, 2010 11:24 am

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)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 16 guests