0

I am new at ruby and also rails. I can't why my rake db:migration is returning me this error

/usr/lib/ruby/vendor_ruby/rake.rb:30:in require': no such file to load -- rbconfig(LoadError) from /usr/lib/ruby/vendor_ruby/rake.rb:30 from /usr/bin/rake:25:inrequire' from /usr/bin/rake:25

thanks!

3
  • could you post full trace? Commented Mar 5, 2013 at 19:08
  • how did you install ruby and rails? have you used rvm for ruby?? Commented Mar 5, 2013 at 19:10
  • I figured out, thanks! Commented Jun 3, 2013 at 20:04

3 Answers 3

1

Check if you are using the right ruby version with $ ruby -v use $ rvm 1.9.3 --default (or the version you are using) in that case. Also, run $ bundle install.

Sign up to request clarification or add additional context in comments.

Comments

0

You might have missed out typing the end of the

require '

in a file you were working on.

Comments

0

The error should be fixed adding in the Gemfile (in the root folder of your app) the lines:

gem 'execjs'
gem 'therubyracer'

and run sudo bundle

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.