Ruby on Rails
Sunday, July 29, 2012
Hi Steve,
Looks to me like you are defaulting to the system versions.
As you are using rvm did you follow these steps?
rvm install 1.9.3-p194
rvm use 1.9.3-p194 --defaultLet me know if this works for you.
BenOn Saturday, July 28, 2012 2:44:12 PM UTC+7, Steve Hayes wrote:
Been happily using rails for some time, upgrading to latest stable versions along the way but over the last week something has changed, now rails isn't happy. Any idea on what might have changed? Given I'm on ruby 1.9.3 I can't see why when I call rails -v it is referring to ruby 1.8. Any guidance would be appreciated. Could it be anything to do symbollic links?My Ruby version:MyRuby$ ruby -vruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]But...rails isn't happyMyRuby$ rails -v/usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [bundler-1.1.5, pg-0.14.0] (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec' from /usr/local/lib/site_ruby/1.8/rubygems.rb:1200:in `gem' from /usr/bin/rails:18MyRuby$ $PATHbash: /usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/ gems/ruby-1.9.3-p194@global/ bin:/usr/local/rvm/rubies/ ruby-1.9.3-p194/bin:/usr/ local/rvm/bin:/home/steve/bin: /usr/lib/lightdm/lightdm:/usr/ local/sbin:/usr/local/bin:/ usr/sbin:/usr/bin:/sbin:/bin:/ usr/games:/sm/pkg/active/bin:/ sm/pkg/active/sbin:/home/ steve/.rvm/bin: No such file or directory
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/OOBCbjs9rF8J.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment