Hello,
On Thursday, May 24, 2012 2:29:42 AM UTC+7, Meow san wrote:
>
> /usr/bin/rake:9:in `require': no such file to load -- rubygems
> (LoadError)
> from /usr/bin/rake:9
>
> I got this error when following an online guide in rails, the command
> I had to type in was # rake db:create..
Thanks Tom. It got solved with the suggestions in that link.
Thanks Mani. Will do the changes.
--
Posted via http://www.ruby-forum.com/.
--
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-t
On Jul 20, 7:19 pm, James Byrne
wrote:
> Then the ruby vm is not starting properly, and as Rake is a ruby script
> it fails in consequence. Resolve what has happened with your ruby
> installation and the Rake problem is likely resolved as well.
Entering /usr/local/bin/ruby without any arguments
jko170 wrote:
> I enter the command and press enter and nothing happens.
>
> On Jul 20, 5:56�pm, James Byrne
Then the ruby vm is not starting properly, and as Rake is a ruby script
it fails in consequence. Resolve what has happened with your ruby
installation and the Rake problem is likely r
I enter the command and press enter and nothing happens.
On Jul 20, 5:56 pm, James Byrne
wrote:
> jko170 wrote:
> > Nothing is outputted. It just loads forever.
>
> What exactly do you mean by, "It just loads forever". Status 1 from a
> ba shell means that the returning processed failed for som
jko170 wrote:
> Nothing is outputted. It just loads forever.
What exactly do you mean by, "It just loads forever". Status 1 from a
ba shell means that the returning processed failed for some reason. If
your ruby binary has had its permissions changed, or it has been moved,
or corrupted in so
Nothing is outputted. It just loads forever.
On Jul 20, 4:10 pm, James Byrne
wrote:
> jko170 wrote:
> > When I run rake test:units I get this error:
>
> > 292 tests, 350 assertions, 2 failures, 13 errors
> > rake aborted!
> > Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
>
jko170 wrote:
> When I run rake test:units I get this error:
>
> 292 tests, 350 assertions, 2 failures, 13 errors
> rake aborted!
> Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
> usr/loc...]
>
> This error just showed up yesterday --- I have no idea how I caused
> it. Her
Anyone have this problem before?
On Jul 20, 4:04 am, jko170 wrote:
> Here it is:
>
> 292 tests, 350 assertions, 2 failures, 13 errors
> rake aborted!
> Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
> usr/loc...]
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:99
Here it is:
292 tests, 350 assertions, 2 failures, 13 errors
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
usr/loc...]
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in
`call'
Hey
Could you paste the full trace and error?
I doubt this is an error with your gem versions.
Gavin
http://handyrailstips.com
On Jul 20, 6:56 am, jko170 wrote:
> When I run rake test:units I get this error:
>
> 292 tests, 350 assertions, 2 failures, 13 errors
> rake aborted!
> Command faile
On Mon, Mar 9, 2009 at 9:34 AM, Chre Thoma
wrote:
>
> when i try to run rake i get an eroor that goes like this:
>
> (in /home/dwain/project/stuad)
> /home/dwain/project/stuad/config/boot.rb:29:Warning: require_gem is
> obsolete. Use gem instead.
Change line 29 of /home/dwain/project/stuad/con
Thanks for the help guys...
I bit the bullet and trashed everything... then rebuilt the system...
but this time used the repositories and then upgrades where needed...
then made symbolic links to /usr/local/bin from usr/bin and vóila she
works...
Hopefully things will go smoother from now
Cheer
On Nov 16, 3:40 pm, gsv <[EMAIL PROTECTED]> wrote:
> OK did a sudo install of rails and rake... they are both in /usr/local/
> bin and ALSO in /usr/bin (not sure how that happened)
>
> I still get the same error message... completely confused now...
>
I'd guess that you've ended up with 2 instal
OK did a sudo install of rails and rake... they are both in /usr/local/
bin and ALSO in /usr/bin (not sure how that happened)
I still get the same error message... completely confused now...
Cheers
On Nov 17, 2:24 am, gsv <[EMAIL PROTECTED]> wrote:
> OK I just did a gem install rake to see wha
OK I just did a gem install rake to see what would happen and got
WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and
/usr/local/bin aren't both writable.
WARNING: You don't have /home/gsv/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
Success
*** LOCAL GEMS ***
actionmailer (2.1.2)
actionpack (2.1.2)
activerecord (2.1.2)
activeresource (2.1.2)
activesupport (2.1.2)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.1)
gem_plugin (0.2.3)
mongrel (1.1.5)
mysql (2.7)
rails (2.1.2)
rake (0.8.3)
On Nov 17, 2:13 am, gsv <[EMAI
I should probably say also that I am not using Mac
I use Hardy (Ubuntu 8.04)
Cheers
On Nov 17, 2:13 am, gsv <[EMAIL PROTECTED]> wrote:
> Hey mike
>
> Installed via the gem... command was
>
> sudo gem install rails --include-dependencies
>
> returned...
>
> INFO: `gem install -y` is now default
On Nov 16, 3:13 pm, gsv <[EMAIL PROTECTED]> wrote:
> Hey mike
>
> Installed via the gem... command was
>
> sudo gem install rails --include-dependencies
>
> returned...
>
> INFO: `gem install -y` is now default and will be removed
> INFO: use --ignore-dependencies to install only the gems you
Hey mike
Installed via the gem... command was
sudo gem install rails --include-dependencies
returned...
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Successfully installed rails-2.1.2
1 gem installed
Which was no
did you install rails via the gem or via apt-get?
2008/11/16 gsv <[EMAIL PROTECTED]>
>
> First time trying to learn Ruby on Rails from the (it would seem now
> badly out of date) Linda.com tutorials...
>
> I was trying to rake db:migrate and received this error "/usr/bin/rake:
> 27:in `require':
21 matches
Mail list logo