Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8584403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:45:59+00:00 2026-06-11T21:45:59+00:00

In order to push my local SQLite3 database to Heroku, I have installed pik

  • 0

In order to push my local SQLite3 database to Heroku, I have installed pik so that I can use ruby -v 192. (I was getting a timezone error, and other posts suggested that it may be due to using ruby version 193).

I followed the directions on github:
http://rubyonwindowsguides.github.com/book/ch02-03.html

I am now able to switch between v 193 and v192, and have bundle installed the necessary gems I’m aware of, including pg (0.12.2 x86-mingw32) and taps (0.3.24).

Everything is fine when I’m in v193.

However, in v192, when I try to run:

Heroku run rake db:migrate

or

Heroku db:push

…I get an error page that reads:

Running 'rake db:migrate' attached to terminal... up, run.1
bash: bin/bundle: c:/Users/umezo/.pik/rubies/Ruby-192-p290/bin/ruby.exe: bad interpreter: No such file or directory

This seems like a path problem, as my Ruby libraries are in c:/, and not c:/Users/Umezo/.pik. I think I may have installed the initial path to v192 in the .pik folder instead of in c:/. What can I do to fix this problem?

My relevant files are saved as recommended in the github instructions:

c:/Ruby192
c:/Ruby193
c:/tools/pik.bat
c:/tools/pik.ps1
c:/tools/pik_runner.exe
c:/Users/umezo/.bashrc
c:/Users/umezo/.pik/.pikrc
c:/Users/umezo/.pik/config.yml

respectively, and the file contents are:

.pikrc

#!/bin/sh
pik_path=/c/tools
function pik  {
  $pik_path/pik_runner.exe pik.sh $@
  [[ -s $USERPROFILE/.pik/pik.sh ]] && source $USERPROFILE/.pik/pik.sh
  unset GEM_HOME
  unset GEM_PATH
} 

config.yml

--- 
"192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]": 
  :path: !ruby/object:Pathname 
    path: C:/Ruby192/bin

"193: ruby 1.9.3p0 (2011-10-30) [i386-mingw32]": 
  :path: !ruby/object:Pathname 
    path: C:/Ruby193/bin
--- {}

.bashrc

[[ -s $USERPROFILE/.pik/.pikrc ]] && source $USERPROFILE/.pik/.pikrc
unset GEM_HOME
unset GEM_PATH

I’m still not sure how all of these files are interconnected, or what exactly each of them does, so am not sure which files to change or move.

Thanks in advance for your help!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:46:01+00:00Added an answer on June 11, 2026 at 9:46 pm

    I never figured out the root cause of this issue, so ended up reinstalling my ruby installations. Now it works fine!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Note that the order can go either way (erase first then push back, just
I am working on getting OAuth keys for c2dm push messaging. In order to
in order to avoid copy/paste, i can use a unique view for different actions,
I currently have a local Git repository, which I push to a Github repository.
I have put up an app on Heroku that is running fine locally (using
I have an app that uses Amazon Product Advertising API at local with no
Order deny,allow deny from all allow from xx.xx.x.xx RewriteRule . - [F] I have
in order to recover data from server I use XMLHttpRequest and my code is
We use a back-office accounting system with an SQL db2 database. Our sales, service
I have a member function of an object that is typically used in an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.