RVM plugin not available in Jenkins - jenkins

Am using Jenkins 2.303.1 - Community version. We have to deploy Ruby on rails application through Freestyle/Pipeline job hence we need to install RVM plugin but it is not visible/available for us to download.
May i know the reason/any other way to install RVM plugin. Please suggest

Related

librarian-chef requiring ruby2.3 fails to install on ruby2.4

I am trying to install a vagrant plugin "librarian-chef". When I run the command vagrant plugin install librarian-chef, I get the error:
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:
chef-zero requires Ruby version >= 2.3.1.
Why does this requirement break the install?
How do I make sure my setup meets what this needs?
Details of my setup
I have ruby-2.4.0p0 on a Macbook installed under RVM. This is my only Ruby on this machine.
For reference purposes, I am trying to get started with the plos/lagotto repo.
I don't see anything in that repo telling you to install anything related to librarian. Librarian-chef has been basically abandoned by the community, but if you did want to use it for some reason the plugin to install is vagrant-librarian-chef, not librarian-chef.

Rails on Jenkins -- Do I need RVM installed?

Fast question.
I am setting up Jenkin CI for my Rails project. Almost every online installation guide ask for RVM to be installed along with Jenkin's RVM Plugin. While I use chruby for Ruby versioning instead of RVM, I only need Ruby 2.0 for my project.
Is RVM required to run a Rail app on Jenkins?
From what I have seen, no. It would be helpful, as with the RVM plugin for Jenkins, I believe you can manage the gemset that you use for that Jenkins project through Jenkins. But my suggestion is try it and if it doesn't work, go the RVM route. Without using RVM, I believe Jenkins will just use the default ruby without having the option to change from within Jenkins.

Redmine plugin install

I just installed redmine via apt-get on Linux Mint 14. Before I added the repository from https://launchpad.net/~ondrej/+archive/redmine. Everything works fine.
Environment:
Redmine version 2.3.1.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Next step would be for me to install a few plugins. I followed the instructions on
http://www.redmine.org/projects/redmine/wiki/Plugins.
The plugin to install http://www.redmine.org/plugins/redmine-projects-accordion
I created a directory /plugins under /usr/share/redmine (this is
where also the app-folder is).
Next step to do a rake redmine:plugins:migrate RAILS_ENV=production.
Now im getting a little Warning: WARNING: 'require 'rake/rdoctask'' is deprecated.
Next step is to restart apache(using passenger-mod) to restart
redmine. But there is no plugin on my administration.
As Im not a ruby/rails dev I can only guess where to search. Any ideas where to look for further information etc? Would be thankful for any advice.
Thanks a lot in advance.
Redmine is a ticket system as well as it is a issue tracker. Some companies are recently using redmine and it is developed by rails frame work. Now Redmine is upgraded its version to 2.x (recently 2.3 is the stable version). So , How can we use plugins in redmine 2.3 versions which we already implemented in redmine 1.x version.
Generally we can easily search the plugins from redmine plugins directory and do install , migration and restart the server i am sure some of you may get some issue at configuration level of the plugin from admin panel. So it depends up on the plugin version too.
You can find the better approach to install the plugins in redmine 2.3 in step by step process is explained in detail from this blog
http://mywayonrails.wordpress.com/2013/07/08/plugins-for-redmine-2-3

Upgrade to ruby 1.9.3 with rvm or brightbox gems

I currently use rvm on my dev box (osx) but I use the system ruby on my server (1.8.7 on Ubuntu 10.04)
I want to upgrade the server to 1.9.3 and have been researching the best way to do it.
The server is running about four Rails applications all on version 3.2.11.
My options appear to be using rvm or alternatively using the 1.9.3 deb package and the ruby-switch gem provided by BrightBox (who also provide passenger packages)
The Brightbox packages appear to be a clean way to go but I thought I would ask a question here to see if there are any advantages or disadvantages of either approach that I have not thought about.
Rvm is useful when you need to have two or more versions of Ruby on the same machine. Development machines tend to have this. There is no need to use a version manager if your production box only requires one version of Ruby.
To this effect, I'd suggest you're correct in doing a single installation from the deb package. I can see the ruby-switch gem gives similar functionality to rvm - up to you as to whether that's important. But if you're using three apps on the same version of ruby, it may not be!

Unable to install plugin in Rails

I'm running Windows 7 32 bit. I just installed Ruby 1.9.2 and Rails 3.0.1. I set up my rails sample application and everything seems to be working fine. I tried installing the restful_authentication plugin from github and it's been a nightmare. I'm executing the following command:
rails plugin install -force git://github.com/technoweenie/restful-authentication.git
...and i get the get the following error:
Cannot install using checkout because this project is not under subversion.
How do i get around this? I've installed both the SVN and Git command-line clients and they're in my PATH.
Yep, you should not use this plugin with Rails 3. Use devise.
Get a linux or a mac for Rails development.
According to the installation notes you need to simply clone the project to the plugins dir.
git clone git://github.com/technoweenie/restful-authentication.git restful_authentication
As others have suggested, devise is a better option.

Resources