Ruby locally and remote are different, just because of 32 and 64 bit, and because I dont work remotely of course.
Basicly just follow these instructions: Installing Ruby and Rails on Fedora with RVM (works also with centos)
My history:
Well, I got this error:
Ruby (Rack) application could not be started
So I changed my config/initializers/session_store.rb:
:key => '_wedding_session'
Then this:
Ruby (Rack) application could not be started
SOLUTION: install rvm and get versions same
for 1.8 and 1.9 are not nice to each other
After installing rvm for ruby to I got on console:
__git_p1 not found
Just find your git-completion:
and add the found git-completion path with a prepended . into your bashrc.
Now you can bring ruby and rails up to date, and it should work
PS: AND INSTALL PASSENGER AGAIN!!!!!!
stackoverflow.com passenger upgrade
I did:
put root in sudoers file and run
rvmsudo passenger-install-apache2-module
Then you have to put the new path in the passenger.conf of apache - done!
BTW: I am fully aware of the redundance of putting root in sudoers file, but just rvm did not work, rvmsudo worked fine.
Basicly just follow these instructions: Installing Ruby and Rails on Fedora with RVM (works also with centos)
My history:
Well, I got this error:
Ruby (Rack) application could not be started
..... config/initializers/session_store.rb
So I changed my config/initializers/session_store.rb:
:key => '_wedding_session'
Then this:
Ruby (Rack) application could not be started
..... config/initializers/wrap_parameters.rb:8: syntax error, unexpected ':', expecting kEND
wrap_parameters format: [:json]
^.......
SOLUTION: install rvm and get versions same
for 1.8 and 1.9 are not nice to each other
After installing rvm for ruby to I got on console:
__git_p1 not found
Just find your git-completion:
find git-completion
and add the found git-completion path with a prepended . into your bashrc.
Now you can bring ruby and rails up to date, and it should work
PS: AND INSTALL PASSENGER AGAIN!!!!!!
stackoverflow.com passenger upgrade
I did:
put root in sudoers file and run
rvmsudo passenger-install-apache2-module
Then you have to put the new path in the passenger.conf of apache - done!
BTW: I am fully aware of the redundance of putting root in sudoers file, but just rvm did not work, rvmsudo worked fine.
Kommentare
Kommentar veröffentlichen