I am a new Rails developer. I recently took a class on Rails, and now I'm trying to make sure that I grew up in my skills by taking on projects that push me. One thing I'm trying to do now is use the Radiant CMS to create a blog site. However, I am having problems downloading the Radiant gem. Here is what I did:
When I first tried gem install radiant, he installed most of the necessary stones, but then threw a warning (which, unfortunately, I did not save verbatim), which was in the lines:
railties executable will overwrite rails executable. Overwrite? Y/n
Stupid, I chose "Y". As soon as I did this, I tested my rail pearls by writing rails new testproject, and it failed. So I ran it again gem install rails, told him to overwrite the railties executable, and then ran gem uninstall radiantto get rid of the main radiant gem (although I still have ribs).
Now my Rails gem has been fixed, and I can create new Rails projects without any problems. However, I reinstalled the Radiant gem, and although it was installed, it cannot create a project every time I run it.
I'm pretty sure that I broke something, but I'm not really worried about it. I am concerned about the fact that it seems that the Radiant gem does not coexist very well with the Rails stone, which leads me to my question:
Is there a way to create separate standalone Ruby Gem environments where the current version of Ruby will only use gems in the specified environment?
In essence, I'm looking for what rbenv does, but for gem collections, not Ruby versions.
I currently have Homebrew installed and I'm using rbenv as my version manager. All I can find so far is talking about managing gemstones from project to project; I am looking for something that will manage and hold individual gems that create projects in the first place. So, for example, environment_acontains railsand httparty, and environment_bcontains radiantand railties.
I'm no taller than completely destroying rbenv and all my gems and starting from scratch, so it's an opportunity (and an advantage to be noob).