RVM : ruby-2.0.0p451 is not installed -


i'm trying deploy rails app on remote server. installed rvm , ruby-2.0.0p451, i can see ruby correctly installed :

$ ruby --version ruby 2.0.0p451 (2014-02-24 revision 45167) [armv6l-linux-eabihf] 

when cd app directory rvm tells ruby version not installed :

$ cd /srv/www/my-app/releases/20140324211434 ruby-2.0.0p451 not installed. install do: 'rvm install ruby-2.0.0p451' 

does knows i'm missing ?


edit 1 :

same error when try deploy capistrano :

debug [4bdd07e8] command: cd /srv/www/photo-visualizer/releases/20140324211434 && ( rails_env=production ~/.rvm/bin/rvm default bundle exec rake assets:precompile ) debug [4bdd07e8]    ruby-2.0.0p451 not installed. debug [4bdd07e8]    install do: 'rvm install ruby-2.0.0p451' 

here copy of deploy.rb


edit 2 :

same problem on local machine :

i can see ruby installed, if ask current version of ruby inside app directory :

$ ruby --version ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin12.5.0] 

but when cd inside directory :

$ cd my-app/ ruby-2.0.0p451 not installed. install do: 'rvm install ruby-2.0.0p451' 

edit 3 :

here copy of ~/.bashrc :

cat ~/.bashrc  path=$path:$home/.rvm/bin # add rvm path scripting [[ -s "$home/.rvm/scripts/rvm" ]] && source "$home/.rvm/scripts/rvm" 


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -