Reputation: 1207
Whenever I build my project in TeamCity, I specify a "ruby environment configurator" build feature as follows:
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
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