Ruby on Rails Thursday, January 30, 2014

Michael,

Thank you for helping. I followed your directions to fix the permissions, and I was able to run the bundle install, without errors! 

You are the man!! Thank you so much!
Eric

computer:crumblr admin$ rails server
/usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [i18n-0.6.9, minitest-4.7.5, multi_json-1.8.4, rake-10.1.1] (Gem::LoadError)
from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/rails:18:in `<main>'
from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'


On Thursday, January 30, 2014 6:41:44 AM UTC-7, Michał Papis wrote:
You have two options:

1) fix the permissions:

- make sure you are in rvm group, run "id" and there should be group "rvm" - if it is not there run: rvm group add rvm $USER
- make sure that rvm is up to date and has properly set permissions: rvm get stable; rvm fix-permissions
- restart your computer - it might be required to apply permission changes and to properly load your environment

2) uninstall system rvm and install it in home:

- run: sudo rm -rf /etc/profile.d/rvm.sh /etc/rvmrc /usr/local/rvm $HOME/.rvm*
- make sure your environment is empty of old rvm, run "env | grep rvm" if it is empty it's all fine, if not - restart computer to ensure your environment is reset
- install rvm: \curl -L https://get.rvm.io | bash -s stable
- follow the installation instructions and install ruby: rvm install ruby

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ed8dbe3e-9c83-4c1a-b3ed-c1fa6d37b7a2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment