Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8005103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:07:42+00:00 2026-06-04T17:07:42+00:00

Bundler 1.2.0.pre includes a new ruby DSL option. According to Heroku’s documentation , they

  • 0

Bundler 1.2.0.pre includes a new “ruby” DSL option. According to Heroku’s documentation, they use this new Gemfile syntax to control which ruby version is used when you push your app.

Being pre-release, documentation for the new Bundler option is fairly thin on the ground at the moment, and the Bundler 1.2 roadmap simply lists it as “ruby version check”.

My question is: currently I use a one-line .rvmrc file in most of my projects, in which I only specify the ruby version for that project (eg. rvm ruby-1.9.3). I don’t use RVM gemsets or anything else (I prefer to vendor all of the required gems within the project, and let Bundler manage the dependencies).

Given my trivial RVM config, will the new “ruby” option in Bundler’s DSL mean I no longer need to specify a .rvmrc file at all? Or are they two different things?

(I do like the fact that RVM automatically switches the ruby version when I cd into my project…not sure if Bundler would do that, or if it just warns when the current version doesn’t match?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T17:07:44+00:00Added an answer on June 4, 2026 at 5:07 pm

    the new ruby is a function and it will allow anything that finally evaluates to a string.

    Unfortunately o read it you would need to use a bundler command which assumes you already have a ruby.

    Instead RVM gives you two ways to defining ruby in Gemfile:

    1) ruby "1.9.3" – simple strings

    2) #ruby=1.9.3-p125 – a comment when you want to use ruby code for ruby or when you want to specify patchlevel or gemset!:

    #ruby=1.9.3
    ruby ENV['RUBY_VERSION'] || '1.9.3'
    

    Will allow bundler to work with any ruby loaded by RVM but by default will use 1.9.3 from #ruby=

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed Bundler on a pre-Rails 3 application and am trying to use it
I have several old (pre-bundler / pre-rvm) Rails projects that use my system's gems.
This question is about bundler,rubygems & how does it figure out which method I
I'm using gem bundler (v.0.9.6) and Rails 2.3.5, rubygems 1.3.6 and ruby 1.8.7 (On
I'm generally clear on bundler Gemfile options, but I'm not sure why rspec (specifically,
I'm trying to use git push heroku master to upload my rails 3 app
I'm very new to using Glassfish or JSP. I have this working in NetBeans
This only happens when using the compatibility library for pre-3.0 devices I'm getting an
private class ExecuteLocations extends AsyncTask<String, Void, Void>{ private final ProgressDialog dialog = new ProgressDialog(ListProfiles.this);
I'm new to Ruby on Rails (formerly and currently PHP expert) so forgive my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.