-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing rails_apps_composer using Bundler #114
Comments
This is most likely due to an rvm installation problem. First, can you create a new rvm gemset manually? Do you have the newest rvm release? |
Thanks for the quick reply. Silly me, the problem was that I didn't have the rvm gem in my current gemset. Closing. |
I'm getting the same error. I'm using both the latest stable version of rvm and the latest version of the rvm gem. Do I need to run |
And if I say no to the rvm question, I still get an rvm-(seemingly-)related error:
|
Hmmm... I'm getting somewhere now. I'm using bundler to install rails_apps_composer, and it looks like I need to include all the gems I'll need in the Gemfile:
|
You can install rails_apps_composer into the global gemset, but I recommend creating a gemset for rails_apps_composer: $ rvm use ruby-2.0.0@rails_apps_composer --create You'll need to add Rails before running rails_apps_composer: $ gem install rails Installation is simple: $ gem install rails_apps_composer Then try
There is no need to install additional gems as rails_apps_composer will add them to to a temporary application template and Bundler will install them as needed. I suggest taking a look at the article http://railsapps.github.com/installing-rails.html to make sure your development environment is set up correctly. Not sure why you are seeing the errors. |
I'm pretty sure the problem was that I had installed rails_apps_composer via bundler. Bundler was probably isolating rails_apps_composer from other gemsets (or some other such nonsense that is entirely acceptable except in rails_apps_composer's case). I've got it working now(-ish) by not using bundler to install rails_apps_composer. Would you mind updating the Installation part of the readme to advise against using bundler to install rails_apps_composer? I think it would help others. |
I've never used Bundler this way so please help me understand. Did you create a new folder with a Gemfile that includes rails_apps_composer? And then ran |
That's exactly what I did. And it borked everything. |
Ok, good to know. I've update the README install instructions to offer a warning. |
Got the RuntimeError:
when creating a new app like so:
Not sure if this is something on my end or something internal.
The text was updated successfully, but these errors were encountered: