Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Install factory:
  2. ```sudo gem install -n /usr/local/bin compass```
  3.  
  4. To install RVM, do the following.
  5.  
  6. ```bash
  7. mkdir -p ~/.rvm/src && cd ~/.rvm/src && rm -rf ./rvm && \
  8. git clone --depth 1 git://github.com/wayneeseguin/rvm.git && \
  9. cd rvm && ./install
  10. ```
  11.  
  12. Add the following line to the end of your .profile or .bash_profile or .bashrc file.
  13.  
  14. ```
  15. if [[ -s $HOME/.rvm/scripts/rvm ]]; then
  16. source $HOME/.rvm/scripts/rvm;
  17. fi
  18. ```
  19.  
  20. ```
  21. Try out RVM.
  22. rvm install 1.8.7
  23. rvm install 1.9.2
  24. rvm --default 1.9.2
  25. ruby -v
  26. which ruby
  27. gem install rails
  28. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement