Ruby on Rails Friday, December 2, 2016

On 2 December 2016 at 21:46, Furqan Ahmad <faari27@gmail.com> wrote:
First the code was not copy from cmd or may be i don't know how to copy from there and second of all yes there are 3 to 4 apps are there

First, on Ubuntu to copy from the terminal use Ctrl+Shift+C, I don't know whether this works on Windows but I am sure that if it does not then google will tell you how to do it.

Second you cannot have 3 to 4 apps in one folder, you can have apps in sub-folders of Sites, but you must run the server in the folder that is the root of the app, that is the folder that contains the subfolders app, config, db etc.  The server only runs one rails app at a time.

Colin

 

On Dec 3, 2016 2:43 AM, "Colin Law" <clanlaw@gmail.com> wrote:
On 2 December 2016 at 18:26, Furqan Ahmad <faari27@gmail.com> wrote:

it was worked fine before i installed sqlite3 by this method
Install the Ruby Devkit for your setup (DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe for me since I use a x64 machine)
Download and extract the autoconf package from Sqlite.org
Run msys.bat (it is inside the ruby devkit root folder)
cd into the path where you downloaded the sqlite source (for example: "cd /c/dev/sqlite3" for path "c:\dev\sqlite3" if you are new to MSYS/MINGW32)
Run "./configure"
Run "make"
Run "make install"
Get the sqlite3 gem again, this time specifying the platform and the path to the newly compiled binaries:

Now when i run rails server it shows me this instead of running the server


It is usually better to copy/paste this type of error rather than posting an image. When running rails s you must be in the root folder of a rails app, is there an app in c:\Sites?

Colin
 

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/hwoahvJG2mU/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAL%3D0gLt1GggKCLY5MDkeDMh6VjWJ%2BOumz5PW5BWmJg4VB1u4-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CAKY0HLDwKjvDVDuRvD-GDgB%2BGNutLy0GNGvMLbaES_RNe_YFmg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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/CAL%3D0gLtcbrgBbgWL1k1eggawJFe4VZ4A-xy3eeyBV02Sprhj%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment