Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rake Error #12

Open
JennTurnr opened this issue Aug 6, 2013 · 4 comments
Open

Rake Error #12

JennTurnr opened this issue Aug 6, 2013 · 4 comments

Comments

@JennTurnr
Copy link

Good Evening,

I have been unable to run the tests and I have no clue what is wrong. I am encountering an issue in the terminal after running the 'rake' command per the instructions in the index.html file. This is the message that I receive, any suggestions or advice would be greatly appreciated. Thank you.

$ rake
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in eval' /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in

'
(See full trace by running task with --trace)

$ rake --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:632:in raw_load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:94:inblock in load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:165:in standard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:93:inload_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:77:in block in run' /usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:165:instandard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:75:in run' /usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/bin/rake:33:in<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/rake:19:in load' /usr/local/rvm/gems/ruby-1.9.3-p392/bin/rake:19:in

'
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in eval' /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in'

@imurchie
Copy link

imurchie commented Aug 7, 2013

Hi! Sorry to hear you're having problems.

Where are you running "rake"? You should be inside one of the numbered directories (e.g., learn_ruby/00_hello/) when running it.

So:

cd learn_ruby/00_hello
rake

Ought to work (your fork of the repository has the Rakefile in it, I can see).

Best,
Isaac.

@JennTurnr
Copy link
Author

Hi thanks for getting back to me, I'm running rake under those directories
but no change, I tried uninstalling and reinstalling rvm, also changed
permissions, nothing is working and I don't know how to fix. Here's what I
get now:

Last login: Thu Aug 8 09:31:08 on console
-bash: __rvm_add_to_path: command not found (**THIS NOW SHOWS WHEN I OPEN A
NEW SHELL WINDOW)

$ gem install rspec
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/config_file.rb:221:in
read': Is a directory - /Users/lindaturner/.gemrc (Errno::EISDIR) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/config_file.rb:221:in load_file'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/config_file.rb:168:in
initialize' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:384:in new'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:384:in
configuration' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:634:in path'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:68:in
installed_spec_directories' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:58:in from_installed_gems'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:881:in
source_index' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/gem_path_searcher.rb:81:in init_gemspecs'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/gem_path_searcher.rb:13:in
initialize' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:839:in new'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:839:in
searcher' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:838:in synchronize'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:838:in
searcher' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:478:in find_files'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1103
from /usr/bin/gem:8:in require' from /usr/bin/gem:8 $ cd learn_ruby/00_hello $ rake rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2377:in raw_load_rakefile'
(See full trace by running task with --trace)

On Wed, Aug 7, 2013 at 6:45 PM, Isaac A. Murchie
[email protected]:

Hi! Sorry to hear you're having problems.

Where are you running "rake"? You should be inside one of the numbered
directories (e.g., learn_ruby/00_hello/) when running it.

So:

cd learn_ruby/00_hello
rake

Ought to work (your fork of the repository has the Rakefile in it, I can
see).

Best,
Isaac.


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-22290125
.

Best,

Jennifer Turner

Ph: 718.813.0625

Email: [email protected]

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
If you are not the named addressee you should not disseminate, distribute
or copy this e-mail. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system. If you are not the intended recipient you are notified that
disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited.

@imurchie
Copy link

imurchie commented Aug 8, 2013

Ooph! It looks like something is wrong in the Ruby installation. I would do a complete uninstall (google the steps. StackOverflow has some discussions... it will vary according to system to a small extent, most likely). The a new install of rvm or rbenv, and then Ruby.

Sorry this is happening at such an early stage!

@JennTurnr
Copy link
Author

Will do, and thank you again!

Best,

Jennifer Turner

Sent from my iPhone

On Aug 8, 2013, at 7:09 PM, "Isaac A. Murchie" [email protected] wrote:

Ooph! It looks like something is wrong in the Ruby installation. I would do a complete uninstall (google the steps. StackOverflow has some discussions... it will vary according to system to a small extent, most likely). The a new install of rvm or rbenv, and then Ruby.

Sorry this is happening at such an early stage!


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants