How to execute this project on local system

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link

At the command prompt, create a new Rails application:

<tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
Change directory to myapp and start the web server:

<tt>cd myapp; rails server</tt> (run with --help for options)
Go to localhost:3000/ and you'll see:

"Welcome aboard: You're riding Ruby on Rails!"
Follow the guidelines to start developing your application. You can find

the following resources handy:

The Getting Started Guide: guides.rubyonrails.org/getting_started.html

Ruby on Rails Tutorial Book: www.railstutorial.org/

···

Sent from my iPhone

On Nov 1, 2015, at 8:49 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I cannot figure out a way to run this application.. So if somebody can figure it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

Hi Amit, this is what you have to do, if you are using linux

         $ git clone GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.
         $ cd Leave-Management-System/
         $ bundle install
         $ rails s

···

On 11/01/2015 09:49 AM, AMIT SHARMA wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I cannot figure out a way to run this application.. So if somebody can figure it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

Generally speaking you should be able to run a Rails project by doing the following:

pull the repo, run "bundle install", "bundle exec rake db:create db:migrate", "bundle exec rail s" then go to that port in your browser (usually 3000)

Josh

···

Sent from my iPhone

On Nov 1, 2015, at 8:49 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I cannot figure out a way to run this application.. So if somebody can figure it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

What Josh wrote + sometime rake db:seed may be necessary. So to summarise:

1. clone the repo and go the the project directory
2. bundle install
3. bundle exec rake db:create db:migrate db:seed
4. bundle exec rails server

···

On Sun, Nov 1, 2015 at 6:57 PM, <jb3689@yahoo.com> wrote:

Generally speaking you should be able to run a Rails project by doing the
following:

pull the repo, run "bundle install", "bundle exec rake db:create
db:migrate", "bundle exec rail s" then go to that port in your browser
(usually 3000)

Josh

Sent from my iPhone

On Nov 1, 2015, at 8:49 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

All the suggestions are great but there is no "bin" folder in the project
directory...won't that cause a problem?

···

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

I think it shouldn't. Just give it a try and let us know if anything is
wrong.

···

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

All the suggestions are great but there is no "bin" folder in the project
directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> > wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

···

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis <contact@gregnavis.com> wrote:

I think it shouldn't. Just give it a try and let us know if anything is
wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA <amitsharma13110@gmail.com> > wrote:

All the suggestions are great but there is no "bin" folder in the project
directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> >> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

i am running "Bundle install" command and getting an error :

···

-------------------------------------------------------------------------------------------------
An error occurred while installing nokogiri (1.5.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.2'` succeeds before bundling.

---------------------------------------------------------------------------------------------------

What to do with this?

On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand <prem89k@gmail.com> wrote:

Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis <contact@gregnavis.com> wrote:

I think it shouldn't. Just give it a try and let us know if anything is
wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA <amitsharma13110@gmail.com> >> wrote:

All the suggestions are great but there is no "bin" folder in the
project directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> >>> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

try bundle update

···

On 11/02/2015 06:13 AM, Greg Navis wrote:

That may be caused by missing libxml2 and libxslt. Try installing the relevant dev packages and see whether it works. You may also try running gem install nokogiri -v '1.5.2' and past the output here. The output of this command should contain more details.

On Mon, Nov 2, 2015 at 11:30 AM, AMIT SHARMA > <amitsharma13110@gmail.com <mailto:amitsharma13110@gmail.com>> wrote:

    i am running "Bundle install" command and getting an error :

    -------------------------------------------------------------------------------------------------
    An error occurred while installing nokogiri (1.5.2), and Bundler
    cannot
    continue.
    Make sure that `gem install nokogiri -v '1.5.2'` succeeds before
    bundling.

    ---------------------------------------------------------------------------------------------------

    What to do with this?

    On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand <prem89k@gmail.com > <mailto:prem89k@gmail.com>> wrote:

        Add sqlite3 go the gemfile and change the database.yml to use
        sqlite.

        Thanks,
        Prem

        On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis > <contact@gregnavis.com <mailto:contact@gregnavis.com>> wrote:

            I think it shouldn't. Just give it a try and let us know
            if anything is wrong.

            On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA > <amitsharma13110@gmail.com > <mailto:amitsharma13110@gmail.com>> wrote:

                All the suggestions are great but there is no "bin"
                folder in the project directory...won't that cause a
                problem?

                On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA > <amitsharma13110@gmail.com > <mailto:amitsharma13110@gmail.com>> wrote:

                    Hey guys,
                    I saw this project on github the other day, it is
                    built on rails but I cannot figure out a way to
                    run this application.. So if somebody can figure
                    it out please reply.
                    The link
                    GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

That may be caused by missing libxml2 and libxslt. Try installing the
relevant dev packages and see whether it works. You may also try running gem
install nokogiri -v '1.5.2' and past the output here. The output of this
command should contain more details.

···

On Mon, Nov 2, 2015 at 11:30 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

i am running "Bundle install" command and getting an error :

-------------------------------------------------------------------------------------------------
An error occurred while installing nokogiri (1.5.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.2'` succeeds before bundling.

---------------------------------------------------------------------------------------------------

What to do with this?

On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand <prem89k@gmail.com> wrote:

Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis <contact@gregnavis.com> wrote:

I think it shouldn't. Just give it a try and let us know if anything is
wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA <amitsharma13110@gmail.com> >>> wrote:

All the suggestions are great but there is no "bin" folder in the
project directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> >>>> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

Did you try to google with that error?
Can you post the error log?

Thanks,
Prem

···

On Mon, Nov 2, 2015 at 4:00 PM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

i am running "Bundle install" command and getting an error :

-------------------------------------------------------------------------------------------------
An error occurred while installing nokogiri (1.5.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.2'` succeeds before bundling.

---------------------------------------------------------------------------------------------------

What to do with this?

On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand <prem89k@gmail.com> wrote:

Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis <contact@gregnavis.com> wrote:

I think it shouldn't. Just give it a try and let us know if anything is
wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA <amitsharma13110@gmail.com> >>> wrote:

All the suggestions are great but there is no "bin" folder in the
project directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> >>>> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I
cannot figure out a way to run this application.. So if somebody can figure
it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

I googled the error and now finally it is solved!! All running well now

···

On Mon, Nov 2, 2015 at 7:22 PM, leonardo <lenieco@gmail.com> wrote:

try bundle update

On 11/02/2015 06:13 AM, Greg Navis wrote:

That may be caused by missing libxml2 and libxslt. Try installing the
relevant dev packages and see whether it works. You may also try running gem
install nokogiri -v '1.5.2' and past the output here. The output of this
command should contain more details.

On Mon, Nov 2, 2015 at 11:30 AM, AMIT SHARMA <amitsharma13110@gmail.com> > wrote:

i am running "Bundle install" command and getting an error :

-------------------------------------------------------------------------------------------------
An error occurred while installing nokogiri (1.5.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.2'` succeeds before bundling.

---------------------------------------------------------------------------------------------------

What to do with this?

On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand < <prem89k@gmail.com> >> prem89k@gmail.com> wrote:

Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis < <contact@gregnavis.com> >>> contact@gregnavis.com> wrote:

I think it shouldn't. Just give it a try and let us know if anything is
wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA < >>>> <amitsharma13110@gmail.com>amitsharma13110@gmail.com> wrote:

All the suggestions are great but there is no "bin" folder in the
project directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA < >>>>> <amitsharma13110@gmail.com>amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but
I cannot figure out a way to run this application.. So if somebody can
figure it out please reply.
The link
<https://github.com/trustarun/Leave-Management-System&gt;
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

Can you post the fix please? Thanks!

···

On Nov 3, 2015, at 10:33 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

I googled the error and now finally it is solved!! All running well now

On Mon, Nov 2, 2015 at 7:22 PM, leonardo <lenieco@gmail.com> wrote:
try bundle update

On 11/02/2015 06:13 AM, Greg Navis wrote:
That may be caused by missing libxml2 and libxslt. Try installing the relevant dev packages and see whether it works. You may also try running gem install nokogiri -v '1.5.2' and past the output here. The output of this command should contain more details.

On Mon, Nov 2, 2015 at 11:30 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

i am running "Bundle install" command and getting an error :

-------------------------------------------------------------------------------------------------
An error occurred while installing nokogiri (1.5.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.2'` succeeds before bundling.

---------------------------------------------------------------------------------------------------

What to do with this?

On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand <prem89k@gmail.com> wrote:
Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis <contact@gregnavis.com> wrote:
I think it shouldn't. Just give it a try and let us know if anything is wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

All the suggestions are great but there is no "bin" folder in the project directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA <amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but I cannot figure out a way to run this application.. So if somebody can figure it out please reply.
The link
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.

Well i was having problem with installation of "Nokogiri" after resolving
the issue of "mySql" so what i did was i installed the "libxslt" and
updated bundle and that's it! Bundle Install command was successful.

···

On Tue, Nov 3, 2015 at 9:07 PM, Rodney Cobb <roacobb@gmail.com> wrote:

Can you post the fix please? Thanks!

On Nov 3, 2015, at 10:33 AM, AMIT SHARMA <amitsharma13110@gmail.com> > wrote:

I googled the error and now finally it is solved!! All running well now

On Mon, Nov 2, 2015 at 7:22 PM, leonardo <lenieco@gmail.com> wrote:

try bundle update

On 11/02/2015 06:13 AM, Greg Navis wrote:

That may be caused by missing libxml2 and libxslt. Try installing the
relevant dev packages and see whether it works. You may also try running gem
install nokogiri -v '1.5.2' and past the output here. The output of this
command should contain more details.

On Mon, Nov 2, 2015 at 11:30 AM, AMIT SHARMA <amitsharma13110@gmail.com> >> wrote:

i am running "Bundle install" command and getting an error :

-------------------------------------------------------------------------------------------------
An error occurred while installing nokogiri (1.5.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.5.2'` succeeds before
bundling.

---------------------------------------------------------------------------------------------------

What to do with this?

On Mon, Nov 2, 2015 at 3:44 PM, Prem Anand < <prem89k@gmail.com> >>> prem89k@gmail.com> wrote:

Add sqlite3 go the gemfile and change the database.yml to use sqlite.

Thanks,
Prem

On Mon, Nov 2, 2015 at 3:24 PM, Greg Navis < <contact@gregnavis.com> >>>> contact@gregnavis.com> wrote:

I think it shouldn't. Just give it a try and let us know if anything
is wrong.

On Mon, Nov 2, 2015 at 9:29 AM, AMIT SHARMA < >>>>> <amitsharma13110@gmail.com>amitsharma13110@gmail.com> wrote:

All the suggestions are great but there is no "bin" folder in the
project directory...won't that cause a problem?

On Sun, Nov 1, 2015 at 8:19 PM, AMIT SHARMA < >>>>>> <amitsharma13110@gmail.com>amitsharma13110@gmail.com> wrote:

Hey guys,
I saw this project on github the other day, it is built on rails but
I cannot figure out a way to run this application.. So if somebody can
figure it out please reply.
The link
<https://github.com/trustarun/Leave-Management-System&gt;
GitHub - trustarun/Leave-Management-System: This will take care of all the need of any enterprise to manage there employee. You can create employee, authorize them through roles.Diferent roles have different acess.Only admin can enroll employee and set holidays.Only manager can approve the Leave.Employee can apply for leave after login.Total holidays will be automatically generated as total of working days and holidays falling within Leave date range.The system is secure and address all the aspect of employee management in any organization.