Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rvmrc_create method #10

Closed
DanielKehoe opened this issue Jul 20, 2012 · 1 comment
Closed

add rvmrc_create method #10

DanielKehoe opened this issue Jul 20, 2012 · 1 comment
Assignees

Comments

@DanielKehoe
Copy link

I'm using the API in a Rails application template to set up an rvm gemset when an application is created with the rails new -m command. I appreciate being able to use the API method RVM.gemset_create app_name. I also want to create a .rvmrc file using the API. I can do this in my application template using Thor commands:

  create_file '.rvmrc' do
    "rvm #{rvm_env}"
  end

but I like the full-featured .rvmrc file I get when I use $ rvm --rvmrc --create ruby-1.9.3-p194@myapp in the shell.

I was expecting to be able to use an API method like RVM.rvmrc_create "default@mygemset" but after scanning the source code I don't see any methods to create an .rvmrc file in the API. Did I overlook it or is it missing? Would it make sense to add it?

@ghost ghost assigned mpapis Jul 20, 2012
@mpapis
Copy link
Member

mpapis commented Apr 15, 2013

Closing as this will be provided as part of RVM 2.

@mpapis mpapis closed this as completed Apr 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants