This forum is no longer active. Please post your questions to our new community site
problems with initilizing ruby app
|
|
shawn@ubuntu804desktop:/home/web/rubystack-1.2-beta-0/projects/rubyweb$ script/server Clean install of Rubystack on, as u can see ubuntu 804—also added to path in ~/.bash.rc: export PATH=$PATH:/home/web/rubystack-1.2-beta-0/apache2/bin; i tried ‘gem install |
|
|
Hi, Have you defined the RAILS_GEM_VERSION variable? Have you tried to define this variable to 2.0.2? What happen if you run the “scripts/server”·action into the rubyconsole?
|
|
|
yes that worked going into the console- I didnt try changing the RAILS_GEM_VERSION as it seems important to be able to keep that the same, but there is nothing preventing me.—im pretty new to this stack and wondering how it works if you spin off the Database, etc. Thanks. Also is this running through apache and mongrels or am i on WEBBrick? |
|
|
Hi, There is a “how to install services” article in the BitNami blog at http://bitnami.com/article/how-to-install-services-on-linux . Take a look the rubyconsole code, it is similar that you have been added to .bash.rc. You can add these lines in your bash.rc. You are running Mongrel by default but you can run also WEBrick. Apache is included to use with phpMyAdmin or as a proxy balancer in production mode. |
|
|
I guess i actually allready did that, but wil only symbolic links and witn K links for runlevel not to run. but i guess the real problems is that ruby just isnt linked to itsself right and i just get all sort of problems with nothing to show. using ur suggestion i got it running through the ruby console—but when i added stuff i get all this /!\ FAILSAFE /!\ Tue Jun 24 16:13:03 -0700 2008
Status: 500 Internal Server Error
You have a nil object when you didn’t expect it! i downloaded ur thing cause i though i would have to deal with internal set-up—-but i guess not. |

