ironicaldiction
ironicaldiction

Reputation: 1207

How do I configure the RVM interpreter in TeamCity (automated build tool)?

Whenever I build my project in TeamCity, I specify a "ruby environment configurator" build feature as follows:

Config Settings for Ruby Env

the build always fails with the following output:

RVM interpreter 'ruby-1.9.3' doesn't exist or isn't a file or isn't a valid RVM interpreter name.

I've tried changing the Gemset to Gemfile and changing "Interpreter Name:" to ruby-1.9.3-p551 and ruby-2.1.3 but no dice

Upvotes: 0

Views: 983

Answers (1)

Nevin Raj Victor
Nevin Raj Victor

Reputation: 2974

Instead of doing like you said, install ruby and update gems using

\curl -sSL https://get.rvm.io | bash -s stable --ruby
sudo gem install rubygems-update
sudo update_rubygems
sudo gem update --system

Then restart your server.After that you can start building your project.Environment will be read automatically..

Upvotes: 1

Related Questions