Управление камнем Ruby Selector
Форум
  1. Forums
  2. General
  3. General Discussion
  1. Jamie D
  2. Thursday, 08 October 2015
  3.  Subscribe via email
When using the ruby selector how are gems supposed to be managed? Can gems be installed via ssh as would be standard for a ruby application, if so how would the correct ruby version be selected via the command line?

Thanks
Rate this post:
  1. 09.10.2015 06:10:31
  2. # 1
Jamie D Accepted Answer
Posts: 1
Joined: 08.10.2015
0
Votes
Undo
I\'ve had a play with this and it looks like the only way to install ruby gems is to do it via the web interface or via the command line as the root user. If this is the only way to manage gems it\'s virtually unusable for many ruby applications that use more than a couple of ruby gems. It\'s common for ruby applications to use 20-30 gems. It would take an extremely long time to install all of these via the web interface.

Virtually all ruby applications use the bundler gem with a Gemfile to manage the gems an application needs, ruby developers would also expect to be able to install their gems via the command line using an automated deploy script such as capistrano. Or alternatively something that auto detects a ruby application and installs the gems using bundler in a similar way to a service like heroku would do.

Without these features, or similar the ruby selector is not going to be something ruby developers would use. Could you let me know if there is any way to manage gems by the end user without having to use the web interface. Or if this is something that is planned for the future.

Thanks
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.