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.
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.
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.
Ok I was able to restore my development environment using some of the information here:
http://dean.io/setting-up-a-ruby-on-...-on-mavericks/
I also have to update my paths in terminal every time I restart my machine like this:
export SENCHA_CMD_3_1_0="~/bin/Sencha/Cmd/3.1.0.239"
export PATH=~/bin/Sencha/Cmd/3.1.0.239:$PATH
source /Users/MYUSERNAME/.rvm/scripts/rvm
Last edited by Dmoney; 22 Oct 2013 at 5:04 PM. Reason: forgot link
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
Can someone post complete steps to fix the environment so I can use Sencha Cmd V4?
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/4.0.0.203:/Users/YOURUN/.rvm/wrappers/ruby-1.9.3-p448
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.
I've used rvm to install 1.9.3 as well. pretty straight forward process.
Mitchell Simoens @LikelyMitch
Check out my GitHub:
https://github.com/mitchellsimoens
Posts are my own, not any current, past or future employer's.
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.3
Ross Gerbasi
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
Cheers
<div style="float: left; width: 70px;">http://appac.us/mcs.png</div><div style="float: left; height: 100px;">Grgur Grisogono
Ext JS in Action SE co-author
Exercising awesomeness at Modus Create - Official Sencha Partner
Get in touch for Sencha Touch Training
@ggrgur</div><div style="clear:both;"></div>