Hello I recently the book to start the rails adventure.
So far things have been going smoothly until I ran
rake db:migrate rake aborted! no such file to load -- bundler/setup
I Googled for solutions and I don’t really understand the bricabrac behind this.
Aurelien-Schlumbergers-MacBook-Pro:~ Aurelien$ gem install sqlite3-ruby Fetching: sqlite3-ruby-1.3.3.gem (100%) ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /opt/local/lib/ruby/gems/1.8 directory.
I aslo made sure the Rake gem is in the right folder and it appears to be in the ~~~ Aurelien-Schlumbergers-MacBook-Pro:~ Aurelien$ which rake /opt/local/bin/rake ~~~
I then went to the depot directory and tried:
Aurelien-Schlumbergers-MacBook-Pro:depot Aurelien$ gem list -d bundler *** LOCAL GEMS *** [EDIT] When I pass this command I get: Aurelien-Schlumbergers-MacBook-Pro:depot Aurelien$ gem list *** LOCAL GEMS *** rake (0.9.2) sqlite3 (1.3.4)
and it appears to be empty….
Finally I tried to see if the Sqlite is there and ran the IRB commands require ‘sqlite3’ and returned true.
I am a bit at a loss.
You’re help would be most appreciated.