Ruby on Rails Wednesday, November 18, 2015

 Dear Colin,

 Thanks but I think I hit a wrong button, this time I have pressed the top red POST REPLY button, hope it should be correct
  Below are the procedures I followed in the installation process
  
[root@i-3781-9521-VM ~]# cp master projectfedena-projectfedena_v2.0-a213125.tar.gz  [root@i-3781-9521-VM ~]# rm master  [root@i-3781-9521-VM ~]# chmod 777 projectfedena-projectfedena_v2.0-a213125.tar.gz  [root@i-3781-9521-VM ~]# tar -xvf projectfedena-projectfedena_v2.0-a213125.tar.gz

I then changed the folder to apps instead of projectfedena-projectfedena_v2.0-a213125
At this point, still when I looked in apps folder, neither Gemfile.lock nor Gemfile where present, hence I decided to run

cd /apps
 
then

rails new apps

this generated neither Gemfile.lock and Gemfile files



On Tuesday, November 17, 2015 at 2:00:24 PM UTC+3, Colin Law wrote:
On 17 November 2015 at 10:10, Advocatus Kakorozya <akako...@gmail.com> wrote:
> I have installed;
> Ruby
> ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
>
> Rails 4.2.4
> gem 2.5.0
>
> MySQL
>
> Phusion Passenger version 5.0.21
>
> + apache
>
> But when I run "rake db:create --trace"
>
> I get the following error
>
> NoMethodError: undefined method `task' for
> #<Spec::Rake::SpecTask:0x007f3b57c8ef58>

Is this for a new rails app or have you picked up an app already written?

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/82461d46-9237-4439-b8b3-ebb0dd2541dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment