Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Caution before upgrading to Mavericks

  1. #1
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Nashville, TN
    Posts
    53
    Vote Rating
    4
      0  

    Default 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
    177
    Vote Rating
    2
      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
    177
    Vote Rating
    2
      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
    53
    Vote Rating
    4
      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
    Sencha Premium User
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,932
    Vote Rating
    548
      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
    53
    Vote Rating
    4
      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, doesnt 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
    Sencha Premium User
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,932
    Vote Rating
    548
      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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    I've used rvm to install 1.9.3 as well. pretty straight forward process.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  9. #9
    Sencha - Ext JS Dev Team
    Join Date
    Oct 2010
    Posts
    91
    Vote Rating
    23
      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
    26
      0  

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

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •