Warning! PATH is not properly set up, /.rvm/gems/ruby-1.9.3-p448′ is not at first place


Warning! PATH is not properly set up, /.rvm/gems/ruby-1.9.3-p448′ is not at first place

—————


/usr/lib/ruby/vendor_ruby/railties/lib/rails_generator/options.rb:32:in `default_options’: undefined method `write_inheritable_attribute’ for Rails::Generator::Base:Class (NoMethodError)

Solution:
1. locate .bashrc

2. opened file “/home/[user_name]/.bashrc”

3. place this line at end of file


[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" 

Reference

Advertisements

I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Tagged with:
Posted in Ruby on Rails, Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

StackOverFlow
Categories
Archives
%d bloggers like this: