Ruby on Rails Tuesday, June 26, 2012

On Wed, Jun 27, 2012 at 1:06 AM, Ylan <ylan@alxglobal.com> wrote:
> On Monday, June 25, 2012 10:58:47 PM UTC-7, Mandy wrote:
>>
>> I am using Rails 2.3.8 application and when I enter rake command it
>> gives following error :
>>
>> ms@ms-HP:~/OpenStreetView$ rake

<snip>

> My best guess is that this is due to a rake version problem. The installed
> rake in your system is probably not the intended version for running your
> Rakefile. Are you using bundler or rvm?

I am using both bundler and rvm. rvm for ruby and bundler to run rails
2.3.8 app and I have also installed rails 3.x on my system.
My motive is to run two rails applications with different versions.

Have a llok at following thread :

https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-talk/Dm9QZDqi2aU

Please help me if you know how to use this bundler.


>> And I also check rake command in Rails 3.2.6 application. Then it
>> gives following result :
>>
>> ms@ms-HP:~/Desktop/rails3/blog$ rake
>> Run options:
>>
>> # Running tests:
>>
>>
>>
>> Finished tests in 0.004364s, 0.0000 tests/s, 0.0000 assertions/s.
>>
>> 0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
>> Run options:

<snip>

> Here, the rake command is doing what it's supposed to: Running the tests.
> The tests are failing, but that is not a problem with rake, it's just that
> the rails application doesn't behave the way the test expect it to.

OK.

--
Mandeep Kaur
http://mandeepsimak.wordpress.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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment