Specifying ruby version and rails version with rbenv when creating a new rails app

To create a new rails project and specify the version of both ruby and rails:

$> RBENV_VERSION=2.0.0-p247 rbenv exec rails _4.0.0_ new project-name

In this example, I’m using Ruby¬†2.0.0-p247 and Rails 4.0.0

2 comments

  • What’s up friends, how is all, and what you wish for to say
    about this article, in my view its in fact remarkable designed for me.

  • I’ve been exploring for a little for any high
    quality articles or weblog posts on this kind of space .
    Exploring in Yahoo I ultimately stumbled upon this website.
    Studying this info So i am happy to express that I’ve a very
    excellent uncanny feeling I found out just what I needed.
    I such a lot surely will make certain to don’t disregard this web
    site and provides it a glance on a constant basis.

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you a real person? *