1. #1
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    37
    Vote Rating
    2
    balogb is on a distinguished road

      0  

    Default Caution before upgrading to Mavericks

    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.

  2. #2
    Sencha User
    Join Date
    May 2010
    Posts
    172
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    172
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    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

  4. #4
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    37
    Vote Rating
    2
    balogb is on a distinguished road

      0  

    Default


    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

  5. #5
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,340
    Vote Rating
    131
    LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all

      0  

    Default


    Can someone post complete steps to fix the environment so I can use Sencha Cmd V4?

  6. #6
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    37
    Vote Rating
    2
    balogb is on a distinguished road

      1  

    Default


    From the article / slight modifications to suit Cmd needs:
    1. Install Homebrew – ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
    2. Run brew doctor to check that Homebrew is installed correctly. It currently shows on mine that 10.9 is pre-release and not supported.
    3. 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
    4. Install RVM – curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
    5. You may need to run source /Users/YOUR-USERNAME/.rvm/scripts/rvm after (replacing YOUR-USERNAME with the username of your machine)
    6. To install Ruby 1.9.3 – rvm install 1.9.3 --with-gcc=clang
    7. Set Ruby 1.9.3 as the default – rvm use 1.9.3 --default
    8. 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

  7. #7
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,340
    Vote Rating
    131
    LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all

      0  

    Default


    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.

  8. #8
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I've used rvm to install 1.9.3 as well. pretty straight forward process.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

  9. #9
    Sencha - Sencha Touch Dev Team
    Join Date
    Oct 2010
    Posts
    90
    Vote Rating
    21
    RossGerbasi will become famous soon enough RossGerbasi will become famous soon enough

      5  

    Default


    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
    Sencha Inc | Senior Software Engineer

  10. #10
    Sencha User grgur's Avatar
    Join Date
    Aug 2007
    Location
    Split, Croatia
    Posts
    155
    Vote Rating
    24
    grgur has a spectacular aura about grgur has a spectacular aura about

      0  

    Default [FIX]

    [FIX]


    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
    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