22 Oct 2013 2:29 PM #1
Caution before upgrading to Mavericks
There is at least 1 requirement for Ruby 1.9.3 that is not Mavericks "ready". Installing Ruby 1.9.3 or below is proving to be a challenge. Since Cmd doesn't work with Ruby 2.0, that is an issue.
22 Oct 2013 4:47 PM #2
I made the mistake of upgrading as well. if anyone figures out how to downgrade ruby to 1.9.3 please let us know how you accomplished it.
22 Oct 2013 5:04 PM #3
Ok I was able to restore my development environment using some of the information here:
I also have to update my paths in terminal every time I restart my machine like this:
Last edited by Dmoney; 22 Oct 2013 at 5:04 PM. Reason: forgot link
23 Oct 2013 5:48 AM #4
Thanks Dmoney, I was using that article as well, but it was failing on the openSSL install yesterday. Today it looks like they have it resolved and I was able to get 1.9.3 installed as well using the steps in the article.
You should be able to preserve those settings in your bash profile:
sudo nano /Users/YOURUN/.bash_profile
Last edited by balogb; 23 Oct 2013 at 5:50 AM. Reason: spelling
23 Oct 2013 6:24 AM #5
Can someone post complete steps to fix the environment so I can use Sencha Cmd V4?
23 Oct 2013 6:54 AM #6
From the article / slight modifications to suit Cmd needs:
- Install Homebrew – ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
- Run brew doctor to check that Homebrew is installed correctly. It currently shows on mine that 10.9 is pre-release and not supported.
- Because Mavericks, like Mountaion Lion, doesn’t come with gcc 4.2, it needs to be installed and linked to the correct place – brew install apple-gcc42 andsudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2
- Install RVM – curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
- You may need to run source /Users/YOUR-USERNAME/.rvm/scripts/rvm after (replacing YOUR-USERNAME with the username of your machine)
- To install Ruby 1.9.3 – rvm install 1.9.3 --with-gcc=clang
- Set Ruby 1.9.3 as the default – rvm use 1.9.3 --default
- Update path / bash profle (sudo nano /Users/YOURUN/.bash_profile) to include paths for cmd and ruby:
- export PATH=$PATH:/Users/YOURUN/bin/Sencha/Cmd/184.108.40.206:/Users/YOURUN/.rvm/wrappers/ruby-1.9.3-p448
23 Oct 2013 7:28 AM #7
Thanks balogb for your helpful comment.
Obviously, you are very handy, but I'm afraid many Ext JS developers will find it totally unacceptable that they have to go over these steps.
23 Oct 2013 10:54 AM #8
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I've used rvm to install 1.9.3 as well. pretty straight forward process.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
24 Oct 2013 6:20 AM #9
I was able to get everything back up and running with the following 3 commands. In this order
$ \curl -L https://get.rvm.io | bash -s stable
$ xcode-select --install
$ rvm install 1.9.3Ross Gerbasi
Sencha Inc | Senior Software Engineer
24 Oct 2013 8:48 AM #10
Had the issues myself :/ As Mitch said, RVM is a gem. (That sounds weird when talking about Ruby)
Tyler Knappe wrote another great article on how to fix Sencha Cmd issues on Mavericks